Thread (4 messages) 4 messages, 3 authors, 2010-06-16

linux-next: build warning after merge of the final tree (net tree related)

From: Stephen Rothwell <hidden>
Date: 2010-06-16 03:48:56
Also in: lkml, netdev

Hi Dave,

After merging the final tree, today's linux-next build (powerpc
ppc44x_defconfig) produced this warning:

net/bridge/br_forward.c: In function '__br_deliver':
net/bridge/br_forward.c:76: warning: passing argument 1 of 'br_netpoll_send_skb' discards qualifiers from pointer target type
net/bridge/br_private.h:308: note: expected 'struct net_bridge_port *' but argument is of type 'const struct net_bridge_port *'

Introduced by commit 91d2c34a4eed32876ca333b0ca44f3bc56645805 ("bridge:
Fix netpoll support").

By the way, that function (br_netpoll_send_skb) is only used in that one
file, so could be static in there.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

Attachments

  • (unnamed) [application/pgp-signature] 198 bytes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help