Julia Lawall ff3b968cee 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>
2009-12-23 11:34:10 -08:00
..
2009-12-11 11:55:15 -08:00
2009-01-07 09:59:58 -08:00
2008-10-22 10:05:28 -07:00
2009-12-23 11:34:10 -08:00
2009-09-23 06:46:35 -07:00
2009-09-23 18:13:10 -07:00
2009-09-23 18:13:10 -07:00
2009-09-23 18:13:10 -07:00
2009-10-04 15:05:10 -07:00
2009-07-12 12:22:34 -07:00
2008-07-21 15:16:10 -07:00
2009-09-23 06:46:35 -07:00
2009-09-23 06:46:35 -07:00
2009-09-23 18:13:10 -07:00
2009-09-23 18:13:10 -07:00
2008-10-17 14:40:53 -07:00