Re: [PATCH v3 1/2] usb: gadget: fsl_udc: fix the usage of udc->max_ep

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

 



On Wed, Jan 11, 2012 at 01:39:07PM +0800, Peter Chen wrote:
> The max_ep is the number of endpoint * 2.
> 
> But in dtd_complete_irq, it does again * 2, it will deference wrong memory
> after scanning max_ep - 1.
> 
> The another similar problem is at USB_REQ_SET_FEATURE (the pipe number
> should be 0 and max_ep - 1).
> 
> Signed-off-by: Peter Chen <peter.chen@xxxxxxxxxxxxx>
> Signed-off-by: Matthieu castet <matthieu.castet@xxxxxxxxxx>

applied, thanks

-- 
balbi

Attachment: signature.asc
Description: Digital signature


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

  Powered by Linux