mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
net: reduce and unify printk level in netdev_fix_features()
Reduce printk() levels to KERN_INFO in netdev_fix_features() as this will be used by ethtool and might spam dmesg unnecessarily. This converts the function to use netdev_info() instead of plain printk(). As a side effect, bonding and bridge devices will now log dropped features on every slave device change. Signed-off-by: Michał Mirosław <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
04ed3e741d
commit
acd1130e87
4 changed files with 16 additions and 25 deletions
|
|
@ -379,7 +379,7 @@ void br_features_recompute(struct net_bridge *br)
|
|||
}
|
||||
|
||||
done:
|
||||
br->dev->features = netdev_fix_features(features, NULL);
|
||||
br->dev->features = netdev_fix_features(br->dev, features);
|
||||
}
|
||||
|
||||
/* called with RTNL */
|
||||
|
|
|
|||
Loading…
Reference in a new issue