Hi Vladimir,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on net-next/master]
url:
https://github.com/0day-ci/linux/commits/Vladimir-Oltean/Better-support-f...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
31222162557ca85808b9985de7e519041561f455
config: microblaze-randconfig-r031-20210318 (attached as .config)
compiler: microblaze-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://github.com/0day-ci/linux/commit/cb132bd734dc880ec90ec12980b6567ef...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Vladimir-Oltean/Better-support-for-sandwiched-LAGs-with-bridge-and-DSA/20210319-072218
git checkout cb132bd734dc880ec90ec12980b6567efa0819fd
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=microblaze
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
net/dsa/port.c: In function 'dsa_port_inherit_brport_flags':
> net/dsa/port.c:152:34: error: implicit declaration of function
'dsa_port_to_bridge_port'; did you mean 'dsa_port_bridge_join'?
[-Werror=implicit-function-declaration]
152 | struct net_device *brport_dev =
dsa_port_to_bridge_port(dp);
| ^~~~~~~~~~~~~~~~~~~~~~~
| dsa_port_bridge_join
> net/dsa/port.c:152:34: warning: initialization of 'struct
net_device *' from 'int' makes pointer from integer without a cast
[-Wint-conversion]
cc1: some warnings being treated as errors
vim +152 net/dsa/port.c
146
147 static int dsa_port_inherit_brport_flags(struct dsa_port *dp,
148 struct netlink_ext_ack *extack)
149 {
150 const unsigned long mask = BR_LEARNING | BR_FLOOD | BR_MCAST_FLOOD |
151 BR_BCAST_FLOOD;
152 struct net_device *brport_dev = dsa_port_to_bridge_port(dp);
153 int flag, err;
154
155 for_each_set_bit(flag, &mask, 32) {
156 struct switchdev_brport_flags flags = {0};
157
158 flags.mask = BIT(flag);
159
160 if (br_port_flag_is_set(brport_dev, BIT(flag)))
161 flags.val = BIT(flag);
162
163 err = dsa_port_bridge_flags(dp, flags, extack);
164 if (err && err != -EOPNOTSUPP)
165 return err;
166 }
167
168 return 0;
169 }
170
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org