diff options
author | Felipe Balbi <balbi@ti.com> | 2013-11-25 18:16:49 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-11-25 18:16:49 +0100 |
commit | 63b12e3ecebd2904ee2e6c59911c7a44a0b18fa5 (patch) | |
tree | 47f2f77962236d26e57f96dafbb4fa0a52da7f54 /drivers/usb | |
parent | usb: gadget: zero: module parameters can be static (diff) | |
download | linux-63b12e3ecebd2904ee2e6c59911c7a44a0b18fa5.tar.xz linux-63b12e3ecebd2904ee2e6c59911c7a44a0b18fa5.zip |
usb: gadget: ffs: fix sparse warning
use NULL instead of 0 as pointer.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb')
-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 774e8b89cdb5..241fc873ffa4 100644 --- a/drivers/usb/gadget/f_fs.c +++ b/drivers/usb/gadget/f_fs.c @@ -1304,7 +1304,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(); |