diff options
author | Michael Hornung <mhornung.linux@gmail.com> | 2015-07-31 20:18:17 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-07-31 23:17:21 (GMT) |
commit | b3c1a61744d02ca2c249dae04c8eb8f5b0822bc3 (patch) | |
tree | e239a14ce5968abdb6dd0a88b9b09951b04efb61 /drivers/staging/most | |
parent | 59ed0480b95032418be6960375a13201c35364f7 (diff) | |
download | linux-b3c1a61744d02ca2c249dae04c8eb8f5b0822bc3.tar.xz |
linux-next: drivers: staging: most: Fix return value
* Fix sparse warning "Using plain integer as NULL pointer"
Signed-off-by: Michael Hornung <mhornung.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most')
-rw-r--r-- | drivers/staging/most/aim-network/networking.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/most/aim-network/networking.c b/drivers/staging/most/aim-network/networking.c index 4639c49..c8ab239 100644 --- a/drivers/staging/most/aim-network/networking.c +++ b/drivers/staging/most/aim-network/networking.c @@ -311,7 +311,7 @@ static struct net_dev_context *get_net_dev_context( } } spin_unlock(&list_lock); - return 0; + return NULL; } static int aim_probe_channel(struct most_interface *iface, int channel_idx, |