projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d07a590
)
usb: gadget: ffs: fix sparse warning
author
Felipe Balbi
<balbi@ti.com>
Mon, 25 Nov 2013 17:16:49 +0000
(11:16 -0600)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 25 Nov 2013 17:16:49 +0000
(11:16 -0600)
use NULL instead of 0 as pointer.
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/f_fs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/f_fs.c
b/drivers/usb/gadget/f_fs.c
index 774e8b89cdb593bf951b5c82e97c169f921a6130..241fc873ffa4569fcc98a3a93ff98e3f07339d72 100644
(file)
--- 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();