linux-hardened/drivers/usb/dwc3
Julia Lawall 6cd6159d4b usb: dwc3: return error code from the most recent call
Copy-paste error from the previous block of error handling code.

A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@@
expression e,e1;
@@

if (IS_ERR(e)) {
  ...
(
  ret = PTR_ERR(e);
|
*  ret = PTR_ERR(e1);
)
  ...
  return ret;
}
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2014-11-24 08:38:27 -06:00
..
core.c usb: dwc3: core: enable phy suspend quirk on non-FPGA 2014-11-06 16:18:19 -06:00
core.h usb: dwc3: make HIRD threshold configurable 2014-11-03 10:03:41 -06:00
debug.c usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
debug.h usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
debugfs.c usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
dwc3-exynos.c usb: dwc3: exynos: Add provision for AXI UpScaler clock on exynos7 2014-11-21 09:07:29 -06:00
dwc3-keystone.c usb: dwc3: keystone: fix error return code 2014-11-20 13:35:46 -06:00
dwc3-omap.c usb: dwc3: dwc3-omap: get rid of ->prepare()/->complete() 2014-11-03 10:00:58 -06:00
dwc3-pci.c usb: dwc3: add support for AMD Nolan platform 2014-11-03 10:03:40 -06:00
dwc3-qcom.c USB: Remove .owner field for driver 2014-09-28 21:55:10 -04:00
dwc3-st.c usb: dwc3: return error code from the most recent call 2014-11-24 08:38:27 -06:00
ep0.c usb: dwc3: ep0: remove unnecessary break after return 2014-11-05 13:33:10 -06:00
gadget.c usb: dwc3: gadget: use udc-core's reset notifier 2014-11-10 17:19:34 -06:00
gadget.h usb: dwc3: gadget: fix set_halt() bug with pending transfers 2014-10-20 15:58:48 -05:00
host.c dwc3: host: Enable USB3 LPM capability 2014-07-09 15:41:34 -07:00
io.h usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
Kconfig usb: dwc3: exynos: remove non-DT support for Exynos Specific Glue layer 2014-11-05 13:22:19 -06:00
Makefile usb: dwc3: Add Qualcomm DWC3 glue layer driver 2014-09-12 15:43:48 -05:00
platform_data.h usb: dwc3: make HIRD threshold configurable 2014-11-03 10:03:41 -06:00
trace.c usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
trace.h usb: dwc3: trace: don't save pointers 2014-11-20 10:12:32 -06:00