From: Robert Richter Date: Tue, 9 Jun 2015 13:32:32 +0000 (+0200) Subject: net: thunderx: Fix const type in nicvf_set_rxfh() X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3d0f3d4daf3adbe962621bc7f6cd13c7c02ed190;p=people%2Fjulieng%2Flinux-arm.git net: thunderx: Fix const type in nicvf_set_rxfh() Change function arg to const type. Signed-off-by: Robert Richter Signed-off-by: Vadim Lomovtsev --- diff --git a/drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c b/drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c index af54c10945c2..03a154006470 100644 --- a/drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c +++ b/drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c @@ -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;