Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f8800d47 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: gadget: f_fs: fix sparse warning



use NULL when returning NULL pointers, not 0.

Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent b658499f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();