]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
e1000e: fix build warning.
authorJoe Jin <joe.jin@oracle.com>
Fri, 18 May 2012 03:56:48 +0000 (11:56 +0800)
committerJoe Jin <joe.jin@oracle.com>
Fri, 18 May 2012 03:56:48 +0000 (11:56 +0800)
The waring introduced by commit ffd3d6, for different declare
of get_rxnfc().

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/e1000e/ethtool.c

index 5ad08c70be9c546ea7de5f1bb6249c7106c43364..296416d0b5564ac9bc552195fbb3ba961f7a0018 100644 (file)
@@ -1977,7 +1977,7 @@ static void e1000_get_strings(struct net_device *netdev, u32 stringset,
 }
 
 static int e1000_get_rxnfc(struct net_device *netdev,
-                          struct ethtool_rxnfc *info, u32 *rule_locs)
+                          struct ethtool_rxnfc *info, void *rule_locs)
 {
        info->data = 0;