From: kernel test robot <lkp@intel.com>
To: "Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH net-next 1/2] net: phylink: add functions to block/unblock rx clock stop
Date: Fri, 7 Mar 2025 03:23:58 +0800 [thread overview]
Message-ID: <202503070329.D6SVd1ez-lkp@intel.com> (raw)
In-Reply-To: <E1tpt2t-005UNB-MC@rmk-PC.armlinux.org.uk>
Hi Russell,
kernel test robot noticed the following build errors:
[auto build test ERROR on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/Russell-King-Oracle/net-phylink-add-functions-to-block-unblock-rx-clock-stop/20250306-060346
base: net-next/main
patch link: https://lore.kernel.org/r/E1tpt2t-005UNB-MC%40rmk-PC.armlinux.org.uk
patch subject: [PATCH net-next 1/2] net: phylink: add functions to block/unblock rx clock stop
config: arm-exynos_defconfig (https://download.01.org/0day-ci/archive/20250307/202503070329.D6SVd1ez-lkp@intel.com/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project 14170b16028c087ca154878f5ed93d3089a965c6)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250307/202503070329.D6SVd1ez-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/202503070329.D6SVd1ez-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
>> drivers/net/phy/phylink.c:2613:40: error: expected ';' after expression
2613 | pl->config->eee_rx_clk_stop_enable)
| ^
| ;
>> drivers/net/phy/phylink.c:2613:40: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
drivers/net/phy/phylink.c:2611:2: note: previous statement is here
2611 | if (pl->mac_rx_clk_stop_blocked++ == 0 &&
| ^
>> drivers/net/phy/phylink.c:2613:40: error: expected expression
2613 | pl->config->eee_rx_clk_stop_enable)
| ^
>> drivers/net/phy/phylink.c:2613:18: warning: expression result unused [-Wunused-value]
2613 | pl->config->eee_rx_clk_stop_enable)
| ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~
2 warnings and 2 errors generated.
vim +2613 drivers/net/phy/phylink.c
2595
2596
2597 void phylink_rx_clk_stop_block(struct phylink *pl)
2598 {
2599 ASSERT_RTNL();
2600
2601 if (pl->mac_rx_clk_stop_blocked == U8_MAX) {
2602 phylink_warn(pl, "%s called too many times - ignoring\n",
2603 __func__);
2604 dump_stack();
2605 return;
2606 }
2607
2608 /* Disable PHY receive clock stop if this is the first time this
2609 * function has been called and clock-stop was previously enabled.
2610 */
2611 if (pl->mac_rx_clk_stop_blocked++ == 0 &&
2612 pl->mac_supports_eee_ops && pl->phydev)
> 2613 pl->config->eee_rx_clk_stop_enable)
2614 phy_eee_rx_clock_stop(pl->phydev, false);
2615 }
2616
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-03-06 19:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-05 18:00 [PATCH net-next 0/2] net: stmmac: approach 2 to solve EEE LPI reset issues Russell King (Oracle)
2025-03-05 18:00 ` [PATCH net-next 1/2] net: phylink: add functions to block/unblock rx clock stop Russell King (Oracle)
2025-03-06 8:28 ` Maxime Chevallier
2025-03-06 19:23 ` kernel test robot [this message]
2025-03-07 2:15 ` kernel test robot
2025-03-05 18:00 ` [PATCH net-next 2/2] net: stmmac: block PHY rx clock-stop over reset Russell King (Oracle)
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=202503070329.D6SVd1ez-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=rmk+kernel@armlinux.org.uk \
/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.