tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: 94339443686b36d3223bc032b7947267474e2679 commit: 94339443686b36d3223bc032b7947267474e2679 [211/211] net: bridge: notify on vlan tunnel changes done via the old api config: s390-defconfig (attached as .config) compiler: s390-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 git checkout 94339443686b36d3223bc032b7947267474e2679 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=s390
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <l...@intel.com> All errors (new ones prefixed by >>): net/bridge/br_netlink_tunnel.c:29:6: warning: no previous prototype for 'vlan_tunid_inrange' [-Wmissing-prototypes] 29 | bool vlan_tunid_inrange(const struct net_bridge_vlan *v_curr, | ^~~~~~~~~~~~~~~~~~ net/bridge/br_netlink_tunnel.c:196:5: warning: no previous prototype for 'br_vlan_tunnel_info' [-Wmissing-prototypes] 196 | int br_vlan_tunnel_info(const struct net_bridge_port *p, int cmd, | ^~~~~~~~~~~~~~~~~~~ net/bridge/br_netlink_tunnel.c: In function '__vlan_tunnel_handle_range': >> net/bridge/br_netlink_tunnel.c:271:26: error: implicit declaration of >> function 'br_vlan_can_enter_range'; did you mean 'br_vlan_valid_range'? >> [-Werror=implicit-function-declaration] 271 | if (v && curr_change && br_vlan_can_enter_range(v, *v_end)) { | ^~~~~~~~~~~~~~~~~~~~~~~ | br_vlan_valid_range cc1: some warnings being treated as errors vim +271 net/bridge/br_netlink_tunnel.c 252 253 /* send a notification if v_curr can't enter the range and start a new one */ 254 static void __vlan_tunnel_handle_range(const struct net_bridge_port *p, 255 struct net_bridge_vlan **v_start, 256 struct net_bridge_vlan **v_end, 257 int v_curr, bool curr_change) 258 { 259 struct net_bridge_vlan_group *vg; 260 struct net_bridge_vlan *v; 261 262 vg = nbp_vlan_group(p); 263 if (!vg) 264 return; 265 266 v = br_vlan_find(vg, v_curr); 267 268 if (!*v_start) 269 goto out_init; 270 > 271 if (v && curr_change && br_vlan_can_enter_range(v, *v_end)) { 272 *v_end = v; 273 return; 274 } 275 276 br_vlan_notify(p->br, p, (*v_start)->vid, (*v_end)->vid, RTM_NEWVLAN); 277 out_init: 278 /* we start a range only if there are any changes to notify about */ 279 *v_start = curr_change ? v : NULL; 280 *v_end = *v_start; 281 } 282 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org
.config.gz
Description: application/gzip