linux_dsm_epyc7002/drivers/usb/dwc3
Felipe Balbi 520fe76336 usb: dwc3: ep0: fix for dead code
commit 6856d30 (usb: dwc3: ep0: return early
on NULL requests) tried to fix a minor corner
case where we could dereference a NULL pointer
but it also ended up introducing some dead code.

Unfortunately, that dead code, if reached, could
end up starving the endpoint request list because
a request would never be given back when it should.

Fix this by moving the check for empty request list
before its first use.

Reported-by: Dave Jones <davej@redhat.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2014-11-10 14:39:44 -06:00
..
core.c Linux 3.17-rc5 2014-09-16 09:53:59 -05:00
core.h
debug.c
debug.h
debugfs.c
dwc3-exynos.c
dwc3-keystone.c USB: Remove .owner field for driver 2014-09-28 21:55:10 -04:00
dwc3-omap.c Revert "usb: dwc3: dwc3-omap: Disable/Enable only wrapper interrupts in prepare/complete" 2014-10-23 09:55:41 -05:00
dwc3-pci.c usb: dwc3: pci: Add PCI ID for Intel Braswell 2014-10-20 15:58:49 -05:00
dwc3-qcom.c USB: Remove .owner field for driver 2014-09-28 21:55:10 -04:00
dwc3-st.c
ep0.c usb: dwc3: ep0: fix for dead code 2014-11-10 14:39:44 -06:00
gadget.c usb: dwc3: gadget: Properly initialize LINK TRB 2014-10-23 13:57:24 -05:00
gadget.h usb: dwc3: gadget: fix set_halt() bug with pending transfers 2014-10-20 15:58:48 -05:00
host.c
io.h
Kconfig
Makefile
platform_data.h
trace.c
trace.h usb: dwc3: trace: don't dereference pointers 2014-10-20 15:58:48 -05:00