diff options
author | Felipe Balbi <balbi@ti.com> | 2013-11-25 12:16:49 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-11-25 12:16:49 -0500 |
commit | 63b12e3ecebd2904ee2e6c59911c7a44a0b18fa5 (patch) | |
tree | 47f2f77962236d26e57f96dafbb4fa0a52da7f54 | |
parent | d07a59019d09fc71b6ae4de98478ae6375ee85ad (diff) |
usb: gadget: ffs: fix sparse warning
use NULL instead of 0 as pointer.
Signed-off-by: Felipe Balbi <balbi@ti.com>
-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) | |||
1304 | { | 1304 | { |
1305 | struct ffs_data *ffs = kzalloc(sizeof *ffs, GFP_KERNEL); | 1305 | struct ffs_data *ffs = kzalloc(sizeof *ffs, GFP_KERNEL); |
1306 | if (unlikely(!ffs)) | 1306 | if (unlikely(!ffs)) |
1307 | return 0; | 1307 | return NULL; |
1308 | 1308 | ||
1309 | ENTER(); | 1309 | ENTER(); |
1310 | 1310 | ||