[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120502.205312.1917428334537687075.davem@davemloft.net>
Date: Wed, 02 May 2012 20:53:12 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: sfr@...b.auug.org.au
Cc: netdev@...r.kernel.org, olof@...om.net, netdev@...deepdalvi.com,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH] net/pasemi: fix compiler warning
From: Stephen Rothwell <sfr@...b.auug.org.au>
Date: Thu, 3 May 2012 10:51:46 +1000
> Fix this compiler warning (on PowerPC) by not marking a parameter as
> const:
>
> drivers/net/ethernet/pasemi/pasemi_mac.c: In function 'pasemi_mac_replenish_rx_ring':
> drivers/net/ethernet/pasemi/pasemi_mac.c:646:3: warning: passing argument 1 of 'netdev_alloc_skb' discards qualifiers from pointer target type
> include/linux/skbuff.h:1706:31: note: expected 'struct net_device *' but argument is of type 'const struct net_device *'
>
> Cc: Olof Johansson <olof@...om.net>
> Cc: Pradeep A. Dalvi <netdev@...deepdalvi.com>
> Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
Applied, thanks.
--
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