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
@@ -2532,7 +2532,8 @@ static void igbvf_print_device_info(struct igbvf_adapter *adapter)
|
||||
dev_info(&pdev->dev, "Address: %pM\n", netdev->dev_addr);
|
||||
}
|
||||
|
||||
static int igbvf_set_features(struct net_device *netdev, u32 features)
|
||||
static int igbvf_set_features(struct net_device *netdev,
|
||||
netdev_features_t features)
|
||||
{
|
||||
struct igbvf_adapter *adapter = netdev_priv(netdev);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user