aboutsummaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2015-04-09 19:45:53 -0400
committerDavid S. Miller <davem@davemloft.net>2015-04-10 15:42:40 -0400
commit78ebb0d00b49125ea03a1adcaa4db39de38be41c (patch)
treeb3f5995519eb82c2fd9c0877f0bea97cb33ae49f /net/core
parentc3d0dac6935e388547d7b7721e80b9c996eb90a1 (diff)
rtnetlink: Mark name argument of rtnl_create_link() const
Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/rtnetlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
index c3bf19000d3a..7a836152359b 100644
--- a/net/core/rtnetlink.c
+++ b/net/core/rtnetlink.c
@@ -1932,7 +1932,7 @@ int rtnl_configure_link(struct net_device *dev, const struct ifinfomsg *ifm)
1932EXPORT_SYMBOL(rtnl_configure_link); 1932EXPORT_SYMBOL(rtnl_configure_link);
1933 1933
1934struct net_device *rtnl_create_link(struct net *net, 1934struct net_device *rtnl_create_link(struct net *net,
1935 char *ifname, unsigned char name_assign_type, 1935 const char *ifname, unsigned char name_assign_type,
1936 const struct rtnl_link_ops *ops, struct nlattr *tb[]) 1936 const struct rtnl_link_ops *ops, struct nlattr *tb[])
1937{ 1937{
1938 int err; 1938 int err;