From: Julia Lawall Date: Mon, 13 Jan 2014 16:12:09 +0000 (+0100) Subject: staging: tidspbridge: adjust error return code (bugfix) X-Git-Tag: v3.14-rc1~150^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff11917d4f1b03d19dcc3c5f3ad813e428c21f40;p=pandora-kernel.git staging: tidspbridge: adjust error return code (bugfix) The variable status is initialized to either 0 or an error code. Return status to propagate the error value. A simplified version of the semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ type T; identifier i; constant c; @@ -T i; <... when != i -i = c; ...> // Signed-off-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed