mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 06:10:45 -04:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
59ed0480b9
commit
b3c1a61744
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user