]> xenbits.xensource.com Git - people/julieng/linux-arm.git/commitdiff
net: thunderx: Fix const type in nicvf_set_rxfh()
authorRobert Richter <rrichter@cavium.com>
Tue, 9 Jun 2015 13:32:32 +0000 (15:32 +0200)
committerJulien Grall <julien.grall@citrix.com>
Mon, 28 Sep 2015 11:05:10 +0000 (12:05 +0100)
Change function arg to const type.

Signed-off-by: Robert Richter <rrichter@cavium.com>
Signed-off-by: Vadim Lomovtsev <Vadim.Lomovtsev@caviumnetworks.com>
drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c

index af54c10945c25175e344ebf052e47e88c62219a3..03a154006470b5d6e1ea82d2503f7819521aa2c8 100644 (file)
@@ -567,7 +567,7 @@ static int nicvf_get_rxfh(struct net_device *dev, u32 *indir, u8 *hkey,
 }
 
 static int nicvf_set_rxfh(struct net_device *dev, const u32 *indir,
-                         const u8 *hkey, u8 hfunc)
+                       const u8 *hkey, const u8 hfunc)
 {
        struct nicvf *nic = netdev_priv(dev);
        struct nicvf_rss_info *rss = &nic->rss_info;