From: kernel test robot <lkp@intel.com>
To: Vladimir Oltean <vladimir.oltean@nxp.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Jakub Kicinski <kuba@kernel.org>
Subject: [jpirko-mlxsw:combined_queue 1866/1919] net/bridge/br_mdb.c:564: undefined reference to `br_switchdev_mdb_notify'
Date: Sat, 30 Oct 2021 04:32:34 +0800 [thread overview]
Message-ID: <202110300424.c7VHNH9J-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3513 bytes --]
tree: https://github.com/jpirko/linux_mlxsw combined_queue
head: cc90b1ce366c29e26c7b67e86a3f87ec1500fc1f
commit: 9776457c784f6549d43f80eb96d4122b51558258 [1866/1919] net: bridge: mdb: move all switchdev logic to br_switchdev.c
config: i386-randconfig-a003-20211028 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/jpirko/linux_mlxsw/commit/9776457c784f6549d43f80eb96d4122b51558258
git remote add jpirko-mlxsw https://github.com/jpirko/linux_mlxsw
git fetch --no-tags jpirko-mlxsw combined_queue
git checkout 9776457c784f6549d43f80eb96d4122b51558258
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
ld: net/bridge/br_mdb.o: in function `br_mdb_notify':
>> net/bridge/br_mdb.c:564: undefined reference to `br_switchdev_mdb_notify'
vim +564 net/bridge/br_mdb.c
37a393bc4932d7 Cong Wang 2012-12-11 554
9ae9ff994b0e42 Vladimir Oltean 2021-10-27 555 void br_mdb_notify(struct net_device *dev,
9ae9ff994b0e42 Vladimir Oltean 2021-10-27 556 struct net_bridge_mdb_entry *mp,
9ae9ff994b0e42 Vladimir Oltean 2021-10-27 557 struct net_bridge_port_group *pg,
9ae9ff994b0e42 Vladimir Oltean 2021-10-27 558 int type)
9ae9ff994b0e42 Vladimir Oltean 2021-10-27 559 {
9ae9ff994b0e42 Vladimir Oltean 2021-10-27 560 struct net *net = dev_net(dev);
9ae9ff994b0e42 Vladimir Oltean 2021-10-27 561 struct sk_buff *skb;
9ae9ff994b0e42 Vladimir Oltean 2021-10-27 562 int err = -ENOBUFS;
9ae9ff994b0e42 Vladimir Oltean 2021-10-27 563
9ae9ff994b0e42 Vladimir Oltean 2021-10-27 @564 br_switchdev_mdb_notify(dev, mp, pg, type);
9ae9ff994b0e42 Vladimir Oltean 2021-10-27 565
81f1983852fd1f Nikolay Aleksandrov 2020-09-07 566 skb = nlmsg_new(rtnl_mdb_nlmsg_size(pg), GFP_ATOMIC);
37a393bc4932d7 Cong Wang 2012-12-11 567 if (!skb)
37a393bc4932d7 Cong Wang 2012-12-11 568 goto errout;
37a393bc4932d7 Cong Wang 2012-12-11 569
81f1983852fd1f Nikolay Aleksandrov 2020-09-07 570 err = nlmsg_populate_mdb_fill(skb, dev, mp, pg, type);
37a393bc4932d7 Cong Wang 2012-12-11 571 if (err < 0) {
37a393bc4932d7 Cong Wang 2012-12-11 572 kfree_skb(skb);
37a393bc4932d7 Cong Wang 2012-12-11 573 goto errout;
37a393bc4932d7 Cong Wang 2012-12-11 574 }
37a393bc4932d7 Cong Wang 2012-12-11 575
37a393bc4932d7 Cong Wang 2012-12-11 576 rtnl_notify(skb, net, 0, RTNLGRP_MDB, NULL, GFP_ATOMIC);
37a393bc4932d7 Cong Wang 2012-12-11 577 return;
37a393bc4932d7 Cong Wang 2012-12-11 578 errout:
37a393bc4932d7 Cong Wang 2012-12-11 579 rtnl_set_sk_err(net, RTNLGRP_MDB, err);
37a393bc4932d7 Cong Wang 2012-12-11 580 }
37a393bc4932d7 Cong Wang 2012-12-11 581
:::::: The code at line 564 was first introduced by commit
:::::: 9ae9ff994b0e42eefcc33f8adda1ec498f79338e net: bridge: split out the switchdev portion of br_mdb_notify
:::::: TO: Vladimir Oltean <vladimir.oltean@nxp.com>
:::::: CC: Jakub Kicinski <kuba@kernel.org>
---
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: 37101 bytes --]
reply other threads:[~2021-10-29 20:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202110300424.c7VHNH9J-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=vladimir.oltean@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®