net: change netdev->features to u32
Quoting Ben Hutchings: we presumably won't be defining features that can only be enabled on 64-bit architectures. Occurences found by `grep -r` on net/, drivers/net, include/ [ Move features and vlan_features next to each other in struct netdev, as per Eric Dumazet's suggestion -DaveM ] Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
57422dc530
commit
04ed3e741d
@@ -8312,7 +8312,7 @@ static const struct net_device_ops bnx2_netdev_ops = {
|
||||
#endif
|
||||
};
|
||||
|
||||
static void inline vlan_features_add(struct net_device *dev, unsigned long flags)
|
||||
static void inline vlan_features_add(struct net_device *dev, u32 flags)
|
||||
{
|
||||
dev->vlan_features |= flags;
|
||||
}
|
||||
|
Reference in New Issue
Block a user