提交 f8800d47 编写于 作者: F Felipe Balbi

usb: gadget: f_fs: fix sparse warning

use NULL when returning NULL pointers, not 0.
Signed-off-by: NFelipe Balbi <balbi@ti.com>
上级 b658499f
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册