From: kernel test robot <lkp@intel.com>
To: David Yang <mmyangfl@gmail.com>, netdev@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, David Yang <mmyangfl@gmail.com>,
Andrew Lunn <andrew@lunn.ch>, Vladimir Oltean <olteanv@gmail.com>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Willem de Bruijn <willemb@google.com>,
Simon Horman <horms@kernel.org>
Subject: Re: [PATCH net-next v5 7/7] net: dsa: motorcomm: Recompute redirect rules on bridge changes
Date: Sun, 6 Dec 2026 19:19:53 +0800 [thread overview]
Message-ID: <20261206191337.dwvguvoV-lkp@intel.com> (raw)
In-Reply-To: <20261206022040.4020726-8-mmyangfl@gmail.com>
Hi David,
kernel test robot noticed the following build warnings:
[auto build test WARNING on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/David-Yang/net-dsa-motorcomm-Remove-local-cpu_ports_mask/20261206-102032
base: net-next/main
patch link: https://lore.kernel.org/r/20261206022040.4020726-8-mmyangfl%40gmail.com
patch subject: [PATCH net-next v5 7/7] net: dsa: motorcomm: Recompute redirect rules on bridge changes
config: parisc-randconfig-1000-20261206 (https://download.01.org/0day-ci/archive/20261206/20261206191337.dwvguvoV-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 12.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261206/20261206191337.dwvguvoV-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261206191337.dwvguvoV-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/net/dsa/motorcomm/chip.c: In function 'yt921x_acl_refresh_extack':
>> drivers/net/dsa/motorcomm/chip.c:1516:17: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
1516 | else if (res > 0)
| ^
vim +/else +1516 drivers/net/dsa/motorcomm/chip.c
1498
1499 static void
1500 yt921x_acl_refresh_extack(struct yt921x_priv *priv, int port, int res, int res2,
1501 struct netlink_ext_ack *extack)
1502 {
1503 struct device *dev = yt921x_priv_to_device(priv);
1504
1505 if (!res || (res > 0 && res2 < 0))
1506 res = res2;
1507
1508 if (res < 0)
1509 if (extack)
1510 NL_SET_ERR_MSG_FMT_MOD(extack,
1511 "Failed to refresh ACL rules: %i",
1512 res);
1513 else
1514 dev_err(dev, "Failed to refresh ACL rules for port %d: %i\n",
1515 port, res);
> 1516 else if (res > 0)
1517 if (extack)
1518 NL_SET_ERR_MSG_MOD(extack,
1519 "Could not reload some redirect rules due to skip_sw, they no longer work as expected");
1520 else
1521 dev_warn(dev, "Could not reload some redirect rules for port %d due to skip_sw, they no longer work as expected\n",
1522 port);
1523 }
1524
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2026-12-06 11:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-06 2:20 [PATCH net-next v5 0/7] net: dsa: motorcomm: Reject isolated redirect targets David Yang
2026-12-06 2:20 ` [PATCH net-next v5 1/7] net: dsa: motorcomm: Remove local cpu_ports_mask David Yang
2026-12-06 2:20 ` [PATCH net-next v5 2/7] net: dsa: motorcomm: Do not block hairpins on standalone ports David Yang
2026-12-06 2:20 ` [PATCH net-next v5 3/7] net: dsa: motorcomm: Derive port isolation masks on the fly David Yang
2026-12-06 2:20 ` [PATCH net-next v5 4/7] net: dsa: motorcomm: Reject isolated redirect targets David Yang
2026-12-06 2:20 ` [PATCH net-next v5 5/7] net: dsa: motorcomm: Reject bridge changes that break redirect rules David Yang
2026-12-06 2:20 ` [PATCH net-next v5 6/7] net: dsa: destroy the bridge port before the leave on join rollback David Yang
2026-12-06 2:20 ` [PATCH net-next v5 7/7] net: dsa: motorcomm: Recompute redirect rules on bridge changes David Yang
2026-12-06 11:19 ` kernel test robot [this message]
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=20261206191337.dwvguvoV-lkp@intel.com \
--to=lkp@intel.com \
--cc=andrew@lunn.ch \
--cc=edumazet@kernel.org \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=mmyangfl@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=olteanv@gmail.com \
--cc=pabeni@redhat.com \
--cc=willemb@google.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