* [linux-next:master 2711/3150] net/bridge/br_multicast.c:1743:3: error: implicit declaration of function 'br_ip6_multicast_add_router'
@ 2021-05-14 8:52 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-14 8:52 UTC (permalink / raw)
To: Linus Lüssing
Cc: kbuild-all, clang-built-linux, Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 3121 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: cd557f1c605fc5a2c0eb0b540610f50dc67dd849
commit: a3c02e769efe66dce5e2c716862b60c8d44d191e [2711/3150] net: bridge: mcast: split multicast router state for IPv4 and IPv6
config: x86_64-randconfig-r015-20210514 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 425781bce01f2f1d5f553d3b2bf9ebbd6e15068c)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=a3c02e769efe66dce5e2c716862b60c8d44d191e
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout a3c02e769efe66dce5e2c716862b60c8d44d191e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Note: the linux-next/master HEAD cd557f1c605fc5a2c0eb0b540610f50dc67dd849 builds fine.
It may have been fixed somewhere.
All errors (new ones prefixed by >>):
>> net/bridge/br_multicast.c:1743:3: error: implicit declaration of function 'br_ip6_multicast_add_router' [-Werror,-Wimplicit-function-declaration]
br_ip6_multicast_add_router(br, port);
^
net/bridge/br_multicast.c:1743:3: note: did you mean 'br_ip4_multicast_add_router'?
net/bridge/br_multicast.c:54:13: note: 'br_ip4_multicast_add_router' declared here
static void br_ip4_multicast_add_router(struct net_bridge *br,
^
net/bridge/br_multicast.c:2804:13: error: static declaration of 'br_ip6_multicast_add_router' follows non-static declaration
static void br_ip6_multicast_add_router(struct net_bridge *br,
^
net/bridge/br_multicast.c:1743:3: note: previous implicit declaration is here
br_ip6_multicast_add_router(br, port);
^
2 errors generated.
vim +/br_ip6_multicast_add_router +1743 net/bridge/br_multicast.c
1729
1730 static void __br_multicast_enable_port(struct net_bridge_port *port)
1731 {
1732 struct net_bridge *br = port->br;
1733
1734 if (!br_opt_get(br, BROPT_MULTICAST_ENABLED) || !netif_running(br->dev))
1735 return;
1736
1737 br_multicast_enable(&port->ip4_own_query);
1738 #if IS_ENABLED(CONFIG_IPV6)
1739 br_multicast_enable(&port->ip6_own_query);
1740 #endif
1741 if (port->multicast_router == MDB_RTR_TYPE_PERM) {
1742 br_ip4_multicast_add_router(br, port);
> 1743 br_ip6_multicast_add_router(br, port);
1744 }
1745 }
1746
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34386 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-14 8:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-14 8:52 [linux-next:master 2711/3150] net/bridge/br_multicast.c:1743:3: error: implicit declaration of function 'br_ip6_multicast_add_router' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).