projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5933dd2
)
bridge: Add const to dummy br_netpoll_send_skb
author
Herbert Xu
<herbert@gondor.apana.org.au>
Wed, 16 Jun 2010 04:43:48 +0000
(21:43 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 16 Jun 2010 04:43:48 +0000
(21:43 -0700)
The version of br_netpoll_send_skb used when netpoll is off is
missing a const thus causing a warning.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_private.h
patch
|
blob
|
blame
|
history
diff --git
a/net/bridge/br_private.h
b/net/bridge/br_private.h
index f6bc979b1135514e5c46e21422454bae839e876d..07cf57b373fec863754bb27b8f62b20eb928be3d 100644
(file)
--- a/
net/bridge/br_private.h
+++ b/
net/bridge/br_private.h
@@
-305,7
+305,7
@@
static inline struct netpoll_info *br_netpoll_info(struct net_bridge *br)
return NULL;
}
-static inline void br_netpoll_send_skb(struct net_bridge_port *p,
+static inline void br_netpoll_send_skb(
const
struct net_bridge_port *p,
struct sk_buff *skb)
{
}