提交 b3c1a617 编写于 作者: M Michael Hornung 提交者: Greg Kroah-Hartman

linux-next: drivers: staging: most: Fix return value

* Fix sparse warning "Using plain integer as NULL pointer"
Signed-off-by: NMichael Hornung <mhornung.linux@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 59ed0480
...@@ -311,7 +311,7 @@ static struct net_dev_context *get_net_dev_context( ...@@ -311,7 +311,7 @@ static struct net_dev_context *get_net_dev_context(
} }
} }
spin_unlock(&list_lock); spin_unlock(&list_lock);
return 0; return NULL;
} }
static int aim_probe_channel(struct most_interface *iface, int channel_idx, static int aim_probe_channel(struct most_interface *iface, int channel_idx,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册