net: introduce and use netdev_features_t for device features sets
v2: add couple missing conversions in drivers split unexporting netdev_fix_features() implemented %pNF convert sock::sk_route_(no?)caps 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
a59e2ecb85
commit
c8f44affb7
@@ -3202,7 +3202,8 @@ static int qeth_l3_stop(struct net_device *dev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static u32 qeth_l3_fix_features(struct net_device *dev, u32 features)
|
||||
static netdev_features_t qeth_l3_fix_features(struct net_device *dev,
|
||||
netdev_features_t features)
|
||||
{
|
||||
struct qeth_card *card = dev->ml_priv;
|
||||
|
||||
@@ -3216,7 +3217,8 @@ static u32 qeth_l3_fix_features(struct net_device *dev, u32 features)
|
||||
return features;
|
||||
}
|
||||
|
||||
static int qeth_l3_set_features(struct net_device *dev, u32 features)
|
||||
static int qeth_l3_set_features(struct net_device *dev,
|
||||
netdev_features_t features)
|
||||
{
|
||||
struct qeth_card *card = dev->ml_priv;
|
||||
u32 changed = dev->features ^ features;
|
||||
|
Reference in New Issue
Block a user