From: Pekka Enberg Date: Mon, 23 Jun 2008 11:34:50 +0000 (+0300) Subject: ipg: use NULL, not zero, for pointers X-Git-Tag: v2.6.26-rc9~84^2~36 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8399fed7e9f2e76eb65852612b16732129b9f3f;p=linux-2.6 ipg: use NULL, not zero, for pointers Fixes a sparse warning in a code block that's hidden under JUMBO_FRAME #ifdef. Tested-by: Andrew Savchenko Signed-off-by: Pekka Enberg Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/ipg.c b/drivers/net/ipg.c index dbb77e34b3..2c03f4e2cc 100644 --- a/drivers/net/ipg.c +++ b/drivers/net/ipg.c @@ -1808,7 +1808,7 @@ static int ipg_nic_open(struct net_device *dev) /* initialize JUMBO Frame control variable */ sp->jumbo.found_start = 0; sp->jumbo.current_size = 0; - sp->jumbo.skb = 0; + sp->jumbo.skb = NULL; dev->mtu = IPG_TXFRAG_SIZE; #endif