Tag: 86669530d966ca21f4245b9990e7ae188d433d1e

drivers/net/mlx4: Adjust constant

Author: Julia Lawall <julia@diku.dk> The values in the advertising field are typically ADVERTISED_xxx, not SUPPORTED_xxx. Both SUPPORTED_10000baseT_Full and ADVERTISED_1000baseT_Full have the same value. The semantic match that finds this problem is as follows: (http://www.emn.fr/x-info/coccinelle/) // @@ struct ethtool_cmd E; @@ *E.advertising = SUPPORTED_10000baseT_Full // Signed-off-by: Julia Lawall Signed-off-by: David S. Miller — drivers/net/mlx4/en_ethtool.c | 2 …

Continue reading