mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 06:01:53 +02:00
usb: gadget: ffs: fix sparse warning
use NULL instead of 0 as pointer. Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
d07a59019d
commit
63b12e3ece
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user