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

From: Vivien Didelot
Date: Thu Jul 14 2016 - 18:24:23 EST


Hi David, all,

kbuild test robot <lkp@xxxxxxxxx> writes:

> [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

Note that this error is no longer valid since the merged commit
d390238c4fba ("net: dsa: initialize the routing table") introduces the
DSA_RTABLE_NONE symbol.

Thanks,

Vivien