diff options
author | Julia Lawall <julia@diku.dk> | 2009-12-09 08:23:32 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-23 14:34:10 -0500 |
commit | ff3b968ceeb73c037cf4759d21923943970f9a7a (patch) | |
tree | f45c5dbe56edaaba3a32c4a479910d721d25cbd9 /fs/fcntl.c | |
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>
Diffstat (limited to 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions