Loading net/core/net-sysfs.c +1 −1 Original line number Diff line number Diff line Loading @@ -498,7 +498,7 @@ int netdev_register_kobject(struct net_device *net) dev->groups = groups; BUILD_BUG_ON(BUS_ID_SIZE < IFNAMSIZ); dev_set_name(dev, net->name); dev_set_name(dev, "%s", net->name); #ifdef CONFIG_SYSFS *groups++ = &netstat_group; Loading Loading
net/core/net-sysfs.c +1 −1 Original line number Diff line number Diff line Loading @@ -498,7 +498,7 @@ int netdev_register_kobject(struct net_device *net) dev->groups = groups; BUILD_BUG_ON(BUS_ID_SIZE < IFNAMSIZ); dev_set_name(dev, net->name); dev_set_name(dev, "%s", net->name); #ifdef CONFIG_SYSFS *groups++ = &netstat_group; Loading