commit | ff3b968ceeb73c037cf4759d21923943970f9a7a | [log] [tgz] |
---|---|---|
author | Julia Lawall <julia@diku.dk> | Wed Dec 09 14:23:32 2009 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Dec 23 11:34:10 2009 -0800 |
tree | f45c5dbe56edaaba3a32c4a479910d721d25cbd9 | |
parent | da307123c621b01cce147a4be313d8a754674f63 [diff] |
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/) // <smpl> @@ expression *E; @@ * E < 0 // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Acked-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>