From: Julia Lawall Date: Wed, 9 Dec 2009 13:23:32 +0000 (+0100) Subject: USB: gadget: Use ERR_PTR/IS_ERR X-Git-Tag: v2.6.33-rc2~11^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff3b968ceeb73c037cf4759d21923943970f9a7a;p=pandora-kernel.git USB: gadget: Use ERR_PTR/IS_ERR Use ERR_PTR and IS_ERR rather than mixing integers and pointers. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression *E; @@ * E < 0 // Signed-off-by: Julia Lawall Acked-by: David Brownell Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed