Re: [PATCH net-next 3/3] net: dsa: drop vlan_getnext
From: kbuild test robot <hidden>
Date: 2016-02-23 17:31:05
Also in:
lkml
Hi Vivien, [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Vivien-Didelot/net-dsa-add-port_vlan_dump-routine/20160224-011644 config: i386-randconfig-x008-201608 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): net/dsa/slave.c: In function 'dsa_bridge_check_vlan_range':
quoted
net/dsa/slave.c:215:14: error: 'struct dsa_switch_driver' has no member named 'vlan_getnext'
if (!ds->drv->vlan_getnext || !vid_begin)
^
net/dsa/slave.c:221:16: error: 'struct dsa_switch_driver' has no member named 'vlan_getnext'
err = ds->drv->vlan_getnext(ds, &vid, members, untagged);
^
vim +215 net/dsa/slave.c
11149536 Vivien Didelot 2015-08-13 209 struct net_device *dev, *vlan_br;
11149536 Vivien Didelot 2015-08-13 210 DECLARE_BITMAP(members, DSA_MAX_PORTS);
11149536 Vivien Didelot 2015-08-13 211 DECLARE_BITMAP(untagged, DSA_MAX_PORTS);
11149536 Vivien Didelot 2015-08-13 212 u16 vid;
11149536 Vivien Didelot 2015-08-13 213 int member, err;
11149536 Vivien Didelot 2015-08-13 214
11149536 Vivien Didelot 2015-08-13 @215 if (!ds->drv->vlan_getnext || !vid_begin)
11149536 Vivien Didelot 2015-08-13 216 return -EOPNOTSUPP;
11149536 Vivien Didelot 2015-08-13 217
11149536 Vivien Didelot 2015-08-13 218 vid = vid_begin - 1;
:::::: The code at line 215 was first introduced by commit
:::::: 111495361598205967f1be4e07d4726b0f762d60 net: dsa: add support for switchdev VLAN objects
:::::: TO: Vivien Didelot [off-list ref]
:::::: CC: David S. Miller [off-list ref]
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation Attachments
- .config.gz [application/octet-stream] 24933 bytes