|
@@ -1482,7 +1482,7 @@ static int xgmac_set_features(struct net_device *dev, netdev_features_t features
|
|
u32 ctrl;
|
|
u32 ctrl;
|
|
struct xgmac_priv *priv = netdev_priv(dev);
|
|
struct xgmac_priv *priv = netdev_priv(dev);
|
|
void __iomem *ioaddr = priv->base;
|
|
void __iomem *ioaddr = priv->base;
|
|
- u32 changed = dev->features ^ features;
|
|
|
|
|
|
+ netdev_features_t changed = dev->features ^ features;
|
|
|
|
|
|
if (!(changed & NETIF_F_RXCSUM))
|
|
if (!(changed & NETIF_F_RXCSUM))
|
|
return 0;
|
|
return 0;
|