From: Michael Hornung Date: Fri, 31 Jul 2015 20:18:17 +0000 (+0200) Subject: linux-next: drivers: staging: most: Fix return value X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b3c1a61744d02ca2c249dae04c8eb8f5b0822bc3;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git linux-next: drivers: staging: most: Fix return value * Fix sparse warning "Using plain integer as NULL pointer" Signed-off-by: Michael Hornung Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/most/aim-network/networking.c b/drivers/staging/most/aim-network/networking.c index 4639c49240f1..c8ab2399faad 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,