From: kernel test robot <lkp@intel.com>
To: Sean Anderson <sean.anderson@linux.dev>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC net-next PATCH 03/13] net: pcs: Add subsystem
Date: Fri, 4 Apr 2025 22:29:30 +0800 [thread overview]
Message-ID: <202504042242.11oJSS49-lkp@intel.com> (raw)
In-Reply-To: <20250403181907.1947517-4-sean.anderson@linux.dev>
Hi Sean,
[This is a private test report for your RFC patch.]
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/Sean-Anderson/dt-bindings-net-Add-binding-for-Xilinx-PCS/20250404-023209
base: net-next/main
patch link: https://lore.kernel.org/r/20250403181907.1947517-4-sean.anderson%40linux.dev
patch subject: [RFC net-next PATCH 03/13] net: pcs: Add subsystem
config: loongarch-randconfig-001-20250404 (https://download.01.org/0day-ci/archive/20250404/202504042242.11oJSS49-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250404/202504042242.11oJSS49-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/202504042242.11oJSS49-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/net/pcs/core.c: In function 'pcs_unregister':
>> drivers/net/pcs/core.c:373:29: warning: variable 'wrapped' set but not used [-Wunused-but-set-variable]
373 | struct phylink_pcs *wrapped;
| ^~~~~~~
vim +/wrapped +373 drivers/net/pcs/core.c
365
366 /**
367 * pcs_unregister() - unregister a PCS
368 * @pcs: a PCS previously registered with pcs_register()
369 */
370 void pcs_unregister(struct phylink_pcs *pcs)
371 {
372 struct pcs_wrapper *wrapper;
> 373 struct phylink_pcs *wrapped;
374
375 mutex_lock(&pcs_mutex);
376 list_for_each_entry(wrapper, &pcs_wrappers, list) {
377 if (wrapper->wrapped == pcs)
378 goto found;
379 }
380
381 mutex_unlock(&pcs_mutex);
382 WARN(1, "trying to unregister an already-unregistered PCS\n");
383 return;
384
385 found:
386 list_del(&wrapper->list);
387 wrapped = rcu_replace_pointer(wrapper->wrapped, NULL, true);
388 mutex_unlock(&pcs_mutex);
389 synchronize_srcu(&wrapper->ssp);
390
391 if (!wrapper->pcs.poll)
392 phylink_pcs_change(&wrapper->pcs, false);
393 if (refcount_dec_and_test(&wrapper->refcnt))
394 pcs_destroy(wrapper);
395 }
396 EXPORT_SYMBOL_GPL(pcs_unregister);
397
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-04-04 14:30 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-03 18:18 [RFC net-next PATCH 00/13] Add PCS core support Sean Anderson
2025-04-03 18:18 ` [RFC net-next PATCH 01/13] dt-bindings: net: Add binding for Xilinx PCS Sean Anderson
2025-04-04 10:37 ` Krzysztof Kozlowski
2025-04-04 10:39 ` Krzysztof Kozlowski
2025-04-04 15:12 ` Sean Anderson
2025-04-04 15:19 ` Sean Anderson
2025-04-03 18:18 ` [RFC net-next PATCH 02/13] net: phylink: Support setting PCS link change callbacks Sean Anderson
2025-04-03 18:18 ` [RFC net-next PATCH 03/13] net: pcs: Add subsystem Sean Anderson
2025-04-04 14:29 ` kernel test robot [this message]
2025-04-03 18:18 ` [RFC net-next PATCH 04/13] net: dsa: ocelot: suppress PHY device scanning on the internal MDIO bus Sean Anderson
2025-04-03 18:18 ` [RFC net-next PATCH 05/13] net: pcs: lynx: Convert to an MDIO driver Sean Anderson
2025-04-04 15:21 ` kernel test robot
2025-04-03 18:19 ` [RFC net-next PATCH 06/13] net: phy: Export some functions Sean Anderson
2025-04-03 18:37 ` Florian Fainelli
2025-04-03 19:08 ` Sean Anderson
2025-04-03 18:19 ` [RFC net-next PATCH 07/13] net: pcs: Add Xilinx PCS driver Sean Anderson
2025-04-03 20:27 ` Russell King (Oracle)
2025-04-03 20:51 ` Sean Anderson
2025-04-03 18:19 ` [RFC net-next PATCH 08/13] net: axienet: Convert to use PCS subsystem Sean Anderson
2025-04-04 14:39 ` kernel test robot
2025-04-03 18:19 ` [RFC net-next PATCH 09/13] net: macb: Move most of mac_config to mac_prepare Sean Anderson
2025-04-03 18:27 ` [RFC net-next PATCH 10/13] net: macb: Support external PCSs Sean Anderson
2025-04-03 20:31 ` Russell King (Oracle)
2025-04-03 18:27 ` [RFC net-next PATCH 11/13] of: property: Add device link support for PCS Sean Anderson
2025-04-03 18:32 ` Saravana Kannan
2025-04-03 19:04 ` Sean Anderson
2025-04-03 18:28 ` [RFC net-next PATCH 12/13] arm64: dts: Add compatible strings for Lynx PCSs Sean Anderson
2025-04-03 18:30 ` [RFC net-next PATCH 13/13] powerpc: " Sean Anderson
2025-04-07 16:27 ` [RFC net-next PATCH 00/13] Add PCS core support Kory Maincent
2025-04-07 16:33 ` Sean Anderson
2025-04-07 16:46 ` Christian Marangi (Ansuel)
2025-04-07 17:00 ` Sean Anderson
2025-04-07 17:21 ` Christian Marangi (Ansuel)
2025-04-07 17:25 ` Daniel Golle
2025-04-07 17:40 ` Sean Anderson
2025-04-08 15:17 ` Sean Anderson
2025-04-07 18:06 ` Sean Anderson
2025-04-07 16:51 ` Kory Maincent
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=202504042242.11oJSS49-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=sean.anderson@linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.