Re: [PATCH] usb: dwc3: gadget: Iterate only over valid endpoints

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 25, 2014 at 03:39:09PM -0700, Greg KH wrote:
> On Tue, Mar 25, 2014 at 02:11:01PM -0700, Jack Pham wrote:
> > Make dwc3_gadget_resize_tx_fifos() iterate only over IN
> > endpoints that are actually present, based on the
> > num_in_eps parameter. This terminates the loop so as to
> > prevent dereferencing a potential NULL dwc->eps[i] where
> > i >= (num_in_eps + num_out_eps).
> > 
> > Change-Id: I07f711bfd380dce212e86b59cf417f84ca7eb006
> 
> What is that line for?
> 
> Please never include it...

Doh! Re-sending.

-- 
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux