diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2014-11-22 15:56:47 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-11-24 08:38:27 -0600 |
commit | 6cd6159d4b1695427105d4b8b2e355e1d0509ff4 (patch) | |
tree | 1e5c75c15d332b58659f6d4c93c29219d7a3de65 /drivers/usb/gadget/udc/lpc32xx_udc.c | |
parent | ef24d749f2c8713d333b3e3c4b1d84fbc25bc133 (diff) | |
download | talos-obmc-linux-6cd6159d4b1695427105d4b8b2e355e1d0509ff4.tar.gz talos-obmc-linux-6cd6159d4b1695427105d4b8b2e355e1d0509ff4.zip |
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>
Diffstat (limited to 'drivers/usb/gadget/udc/lpc32xx_udc.c')
0 files changed, 0 insertions, 0 deletions