From: Stephen Rothwell <s...@canb.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 <o...@lixom.net>
> Cc: Pradeep A. Dalvi <net...@pradeepdalvi.com>
> Signed-off-by: Stephen Rothwell <s...@canb.auug.org.au>

Applied, thanks.
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to