From: Julia Lawall Date: Sat, 22 Nov 2014 14:56:47 +0000 (+0100) Subject: usb: dwc3: return error code from the most recent call X-Git-Tag: omap-for-v3.19/fixes-rc1~87^2~32^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cd6159d4b1695427105d4b8b2e355e1d0509ff4;p=pandora-kernel.git 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/) // @@ expression e,e1; @@ if (IS_ERR(e)) { ... ( ret = PTR_ERR(e); | * ret = PTR_ERR(e1); ) ... return ret; } // Signed-off-by: Julia Lawall Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed