mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 21:30:53 +07:00
usb: gadget: f_fs: fix sparse warning
use NULL when returning NULL pointers, not 0. Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
b658499f0f
commit
f8800d47bc
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user