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

Attachment: .config.gz
Description: application/gzip

Reply via email to