Re: [PATCH 3/3 v3] usb/dwc3: return early in dwc3_cleanup_done_reqs()

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

 



On Thu, Nov 03, 2011 at 10:32:20AM +0100, Sebastian Andrzej Siewior wrote:
> This patch avoids the compiler spitting out the following warning:
> |drivers/usb/dwc3/gadget.c:1304: warning: â??trbâ?? is used uninitialized in this function
> 
> This is only uninitialized if the list of to-cleanup TRBs is empty which
> should not be the case because we call this functions once a transfer
> completed so it should be on list. We return early in the which should
> never happen so the warning vanishes.
> 
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>

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