Loading net/core/net-sysfs.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -1453,8 +1453,8 @@ static void netdev_release(struct device *d) static const void *net_namespace(struct device *d) static const void *net_namespace(struct device *d) { { struct net_device *dev; struct net_device *dev = to_net_dev(d); dev = container_of(d, struct net_device, dev); return dev_net(dev); return dev_net(dev); } } Loading Loading
net/core/net-sysfs.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -1453,8 +1453,8 @@ static void netdev_release(struct device *d) static const void *net_namespace(struct device *d) static const void *net_namespace(struct device *d) { { struct net_device *dev; struct net_device *dev = to_net_dev(d); dev = container_of(d, struct net_device, dev); return dev_net(dev); return dev_net(dev); } } Loading