[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <201508040606.8x0wKgcJ%fengguang.wu@intel.com>
Date: Tue, 4 Aug 2015 06:55:07 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Satish Ashok <sashok@...ulusnetworks.com>
Cc: kbuild-all@...org,
Nikolay Aleksandrov <nikolay@...ulusnetworks.com>,
netdev@...r.kernel.org
Subject: [net-next:master 173/173] net/bridge/br_mdb.c:493:8: error: 'struct
net_bridge' has no member named 'vlan_enabled'
tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head: e44deb2f0cce9183ca94d14effd4170a35eec31d
commit: e44deb2f0cce9183ca94d14effd4170a35eec31d [173/173] bridge: mdb: add/del entry on all vlans if vlan_filter is enabled and vid is 0
config: sh-titan_defconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout e44deb2f0cce9183ca94d14effd4170a35eec31d
# save the attached .config to linux build tree
make.cross ARCH=sh
All error/warnings (new ones prefixed by >>):
net/bridge/br_mdb.c: In function 'br_mdb_add':
>> net/bridge/br_mdb.c:493:8: error: 'struct net_bridge' has no member named 'vlan_enabled'
net/bridge/br_mdb.c: In function 'br_mdb_del':
net/bridge/br_mdb.c:595:8: error: 'struct net_bridge' has no member named 'vlan_enabled'
vim +493 net/bridge/br_mdb.c
487
488 p = br_port_get_rtnl(pdev);
489 if (!p || p->br != br || p->state == BR_STATE_DISABLED)
490 return -EINVAL;
491
492 pv = nbp_get_vlan_info(p);
> 493 if (br->vlan_enabled && pv && entry->vid == 0) {
494 for_each_set_bit(vid, pv->vlan_bitmap, VLAN_N_VID) {
495 entry->vid = vid;
496 err = __br_mdb_add(net, br, entry);
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
View attachment ".config" of type "text/plain" (62874 bytes)
Powered by blists - more mailing lists