[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <48647B9F.1070604@garzik.org>
Date: Fri, 27 Jun 2008 01:33:19 -0400
From: Jeff Garzik <jeff@...zik.org>
To: Pekka J Enberg <penberg@...helsinki.fi>
CC: romieu@...zoreil.com, sorbica@...lus.com.tw, jesse@...lus.com.tw,
Bircoph@...t.ru, shemminger@...tta.com, netdev@...r.kernel.org
Subject: Re: [PATCH 02/08] ipg: use NULL, not zero, for pointers
Pekka J Enberg wrote:
> From: Pekka Enberg <penberg@...helsinki.fi>
>
> Fixes a sparse warning in a code block that's hidden under JUMBO_FRAME #ifdef.
>
> Tested-by: Andrew Savchenko <Bircoph@...t.ru>
> Signed-off-by: Pekka Enberg <penberg@...helsinki.fi>
> ---
> drivers/net/ipg.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: linux-2.6/drivers/net/ipg.c
> ===================================================================
> --- linux-2.6.orig/drivers/net/ipg.c
> +++ linux-2.6/drivers/net/ipg.c
> @@ -1808,7 +1808,7 @@ static int ipg_nic_open(struct net_devic
> /* 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
applied 1-2 to 2.6.26
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists