From: Stephen Rothwell Date: Thu, 3 May 2012 00:51:46 +0000 (+1000) Subject: net/pasemi: fix compiler warning X-Git-Tag: v3.5-rc1~109^2~198 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c6239c8f89f301c47e96bf9d2931c446b934be0;p=pandora-kernel.git net/pasemi: fix compiler warning 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 Cc: Pradeep A. Dalvi Signed-off-by: Stephen Rothwell Signed-off-by: David S. Miller --- Reading git-diff-tree failed