From: Julia Lawall Date: Sat, 2 Oct 2010 13:59:17 +0000 (+0200) Subject: drivers/gpu/drm/i915/i915_gem.c: Add missing error handling code X-Git-Tag: v2.6.36-rc7~17^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=929f49bf225b1b6cd04d0a7b9c0f7377d9131220;p=pandora-kernel.git drivers/gpu/drm/i915/i915_gem.c: Add missing error handling code Extend the error handling code with operations found in other nearby error handling code A simplified version of the sematic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @r exists@ @r@ statement S1,S2,S3; constant C1,C2,C3; @@ *if (...) {... S1 return -C1;} ... *if (...) {... when != S1 return -C2;} ... *if (...) {... S1 return -C3;} // Signed-off-by: Julia Lawall Signed-off-by: Chris Wilson Cc: stable@kernel.org --- Reading git-diff-tree failed