From: Ronit Halder Date: Wed, 19 Aug 2015 05:47:09 +0000 (+0530) Subject: Staging: most: Use NULL instead of zero X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1865e4ea0b2d9889e5e1f93d5ca69194857cc9f0;p=openwrt%2Fstaging%2Fblogic.git Staging: most: Use NULL instead of zero This patch fixes the warning generated by sparse "Using plain integer as NULL pointer" by using NULL instead of zero. Signed-off-by: Ronit halder Acked-by: Christian Gromm 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 c8ab2399faad..a1e1bce16296 100644 --- a/drivers/staging/most/aim-network/networking.c +++ b/drivers/staging/most/aim-network/networking.c @@ -295,7 +295,7 @@ static void most_net_rm_netdev_safe(struct net_dev_context *nd) unregister_netdev(nd->dev); free_netdev(nd->dev); - nd->dev = 0; + nd->dev = NULL; } static struct net_dev_context *get_net_dev_context(