projects
/
platform
/
kernel
/
linux-arm64.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
|
history
diff --git
a/net/bridge/br_private.h
b/net/bridge/br_private.h
index
f6bc979
..
07cf57b
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)
{
}