Re: [PATCH net-next 3/9] net: dsa: mv88e6xxx: extract device mapping

From: kbuild test robot
Date: Thu Jul 07 2016 - 10:56:18 EST


Hi,

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

url: https://github.com/0day-ci/linux/commits/Vivien-Didelot/net-dsa-mv88e6xxx-STP-and-Global-2-cleanup/20160707-210537
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

drivers/net/dsa/mv88e6xxx/chip.c: In function 'mv88e6xxx_g2_set_device_mapping':
>> drivers/net/dsa/mv88e6xxx/chip.c:3116:16: error: 'DSA_RTABLE_NONE' undeclared (first use in this function)
if (port == DSA_RTABLE_NONE)
^~~~~~~~~~~~~~~
drivers/net/dsa/mv88e6xxx/chip.c:3116:16: note: each undeclared identifier is reported only once for each function it appears in

vim +/DSA_RTABLE_NONE +3116 drivers/net/dsa/mv88e6xxx/chip.c

3110 /* Initialize the routing port to the 32 possible target devices */
3111 for (target = 0; target < 32; ++target) {
3112 port = 0xf;
3113
3114 if (target < DSA_MAX_SWITCHES) {
3115 port = chip->ds->rtable[target];
> 3116 if (port == DSA_RTABLE_NONE)
3117 port = 0xf;
3118 }
3119

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data