diff options
author | Felipe Balbi <balbi@ti.com> | 2013-12-12 12:15:43 -0600 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-12-12 13:43:40 -0600 |
commit | f8800d47bcdf5ae0582ac674657fd939a9105be0 (patch) | |
tree | 28475dbce085bdfbb3085be892208992ff008eb6 /drivers/usb/gadget | |
parent | b658499f0f0f4ebf21d09c7da62a46f66ffa67cb (diff) | |
download | linux-f8800d47bcdf5ae0582ac674657fd939a9105be0.tar.bz2 |
usb: gadget: f_fs: fix sparse warning
use NULL when returning NULL pointers, not 0.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r-- | drivers/usb/gadget/f_fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/f_fs.c b/drivers/usb/gadget/f_fs.c index 12a64e1c31ef..306a2b52125c 100644 --- a/drivers/usb/gadget/f_fs.c +++ b/drivers/usb/gadget/f_fs.c @@ -1137,7 +1137,7 @@ static struct ffs_data *ffs_data_new(void) { struct ffs_data *ffs = kzalloc(sizeof *ffs, GFP_KERNEL); if (unlikely(!ffs)) - return 0; + return NULL; ENTER(); |