From: Julia Lawall Date: Sun, 19 Jul 2009 06:09:25 +0000 (+0000) Subject: drivers/net/mlx4: Adjust constant X-Git-Tag: v2.6.31-rc4~11^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86669530d966ca21f4245b9990e7ae188d433d1e;p=pandora-kernel.git drivers/net/mlx4: Adjust constant 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 --- Reading git-diff-tree failed