[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201710232005.fSijb0rr%fengguang.wu@intel.com>
Date: Mon, 23 Oct 2017 21:08:44 +0800
From: kbuild test robot <lkp@...el.com>
To: Ganesh Goudar <ganeshgr@...lsio.com>
Cc: kbuild-all@...org, netdev@...r.kernel.org, davem@...emloft.net,
nirranjan@...lsio.com, indranil@...lsio.com, venkatesh@...lsio.com,
Arjun Vynipadath <arjun@...lsio.com>,
Ganesh Goudar <ganeshgr@...lsio.com>
Subject: Re: [PATCH net-next] cxgb4vf: Fix netdev_features flag
Hi Arjun,
[auto build test ERROR on net-next/master]
url: https://github.com/0day-ci/linux/commits/Ganesh-Goudar/cxgb4vf-Fix-netdev_features-flag/20171023-201033
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=xtensa
All errors (new ones prefixed by >>):
>> drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:2765:26: error: redefinition of 'cxgb4vf_fix_features'
static netdev_features_t cxgb4vf_fix_features(struct net_device *dev,
^
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1114:26: note: previous definition of 'cxgb4vf_fix_features' was here
static netdev_features_t cxgb4vf_fix_features(struct net_device *dev,
^
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1114:26: warning: 'cxgb4vf_fix_features' defined but not used [-Wunused-function]
vim +/cxgb4vf_fix_features +2765 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
2764
> 2765 static netdev_features_t cxgb4vf_fix_features(struct net_device *dev,
2766 netdev_features_t features)
2767 {
2768 /* Disable GRO, if RX_CSUM is disabled */
2769 if (!(features & NETIF_F_RXCSUM))
2770 features &= ~NETIF_F_GRO;
2771
2772 return features;
2773 }
2774
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (51684 bytes)
Powered by blists - more mailing lists