From: Stephen Rothwell <[email protected]> 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 <[email protected]> > Cc: Pradeep A. Dalvi <[email protected]> > Signed-off-by: Stephen Rothwell <[email protected]> Applied, thanks. _______________________________________________ Linuxppc-dev mailing list [email protected] https://lists.ozlabs.org/listinfo/linuxppc-dev
