Hi Henrik,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on net-next/master]

url:    
https://github.com/0day-ci/linux/commits/Henrik-Bjoernlund/net-bridge-cfm-Add-support-for-Connectivity-Fault-Management-CFM/20201001-184031
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 
f2e834694b0d92187d889172da842e27829df371
config: i386-randconfig-a004-20200930 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
        # 
https://github.com/0day-ci/linux/commit/11484cf00dba95e52678e269d11425358dcde310
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review 
Henrik-Bjoernlund/net-bridge-cfm-Add-support-for-Connectivity-Fault-Management-CFM/20201001-184031
        git checkout 11484cf00dba95e52678e269d11425358dcde310
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <l...@intel.com>

All errors (new ones prefixed by >>):

   ld: net/core/flow_dissector.o: in function `switchdev_port_obj_get':
>> include/net/switchdev.h:441: multiple definition of 
>> `switchdev_port_obj_get'; 
>> drivers/net/usb/lan78xx.o:include/net/switchdev.h:441: first defined here
   ld: net/core/dev.o: in function `switchdev_port_obj_get':
>> include/net/switchdev.h:441: multiple definition of 
>> `switchdev_port_obj_get'; 
>> drivers/net/usb/lan78xx.o:include/net/switchdev.h:441: first defined here
   ld: net/core/dev_ioctl.o: in function `switchdev_port_obj_get':
>> include/net/switchdev.h:441: multiple definition of 
>> `switchdev_port_obj_get'; 
>> drivers/net/usb/lan78xx.o:include/net/switchdev.h:441: first defined here
   ld: net/ethernet/eth.o: in function `switchdev_port_obj_get':
>> include/net/switchdev.h:441: multiple definition of 
>> `switchdev_port_obj_get'; 
>> drivers/net/usb/lan78xx.o:include/net/switchdev.h:441: first defined here
   ld: net/ethtool/tunnels.o: in function `switchdev_port_obj_get':
>> include/net/switchdev.h:441: multiple definition of 
>> `switchdev_port_obj_get'; 
>> drivers/net/usb/lan78xx.o:include/net/switchdev.h:441: first defined here
   ld: net/ipv4/ip_tunnel_core.o: in function `switchdev_port_obj_get':
>> include/net/switchdev.h:441: multiple definition of 
>> `switchdev_port_obj_get'; 
>> drivers/net/usb/lan78xx.o:include/net/switchdev.h:441: first defined here
   ld: net/ipv4/ipconfig.o: in function `switchdev_port_obj_get':
>> include/net/switchdev.h:441: multiple definition of 
>> `switchdev_port_obj_get'; 
>> drivers/net/usb/lan78xx.o:include/net/switchdev.h:441: first defined here

vim +441 include/net/switchdev.h

   435  
   436  int switchdev_port_obj_get(struct net_device *dev,
   437                             const struct switchdev_obj *obj,
   438                             struct netlink_ext_ack *extack)
   439  {
   440          return -EOPNOTSUPP;
 > 441  }
   442  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org

Attachment: .config.gz
Description: application/gzip

Reply via email to