mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
c3d0dac693
commit
78ebb0d00b
2 changed files with 2 additions and 2 deletions
|
@ -1932,7 +1932,7 @@ int rtnl_configure_link(struct net_device *dev, const struct ifinfomsg *ifm)
|
|||
EXPORT_SYMBOL(rtnl_configure_link);
|
||||
|
||||
struct net_device *rtnl_create_link(struct net *net,
|
||||
char *ifname, unsigned char name_assign_type,
|
||||
const char *ifname, unsigned char name_assign_type,
|
||||
const struct rtnl_link_ops *ops, struct nlattr *tb[])
|
||||
{
|
||||
int err;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue