diff options
author | David S. Miller <davem@davemloft.net> | 2012-04-13 14:21:04 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-13 14:21:04 -0400 |
commit | be3839520411df2806b188fff053c775a884cfce (patch) | |
tree | bf31ef704c1e8fdce0647fbf735aada490fb25de /include/net/rtnetlink.h | |
parent | 2a06b40fbbbd33d70aea385380531d959f47bc06 (diff) | |
download | linux-be3839520411df2806b188fff053c775a884cfce.tar.bz2 |
rtnetlink: ops->get_tx_queue() cannot take a const 'tb'.
net/core/rtnetlink.c: In function ‘rtnl_create_link’:
net/core/rtnetlink.c:1645:3: warning: passing argument 2 of ‘ops->get_tx_queues’ from incompatible pointer type [enabled by default]
net/core/rtnetlink.c:1645:3: note: expected ‘const struct nlattr **’ but argument is of type ‘struct nlattr **’
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/rtnetlink.h')
-rw-r--r-- | include/net/rtnetlink.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/rtnetlink.h b/include/net/rtnetlink.h index 9b8250152c90..bbcfd0993432 100644 --- a/include/net/rtnetlink.h +++ b/include/net/rtnetlink.h @@ -78,7 +78,7 @@ struct rtnl_link_ops { int (*fill_xstats)(struct sk_buff *skb, const struct net_device *dev); int (*get_tx_queues)(struct net *net, - const struct nlattr *tb[]); + struct nlattr *tb[]); }; extern int __rtnl_link_register(struct rtnl_link_ops *ops); |