[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202601131202.sz9WCQgh-lkp@intel.com>
Date: Tue, 13 Jan 2026 13:17:35 +0800
From: kernel test robot <lkp@...el.com>
To: "Russell King (Oracle)" <rmk+kernel@...linux.org.uk>,
Andrew Lunn <andrew@...n.ch>,
Heiner Kallweit <hkallweit1@...il.com>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Konrad Dybcio <konrad.dybcio@....qualcomm.com>,
linux-arm-kernel@...ts.infradead.org, linux-arm-msm@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Mohd Ayaan Anwar <mohd.anwar@....qualcomm.com>,
netdev@...r.kernel.org, Paolo Abeni <pabeni@...hat.com>,
Vinod Koul <vkoul@...nel.org>
Subject: Re: [PATCH net-next 2/2] net: stmmac: qcom-ethqos: convert to
set_clk_tx_rate() method
Hi Russell,
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/Russell-King-Oracle/net-stmmac-qcom-ethqos-remove-mac_base/20260113-061245
base: net-next/main
patch link: https://lore.kernel.org/r/E1vfMO1-00000002kJF-33UK%40rmk-PC.armlinux.org.uk
patch subject: [PATCH net-next 2/2] net: stmmac: qcom-ethqos: convert to set_clk_tx_rate() method
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20260113/202601131202.sz9WCQgh-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260113/202601131202.sz9WCQgh-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202601131202.sz9WCQgh-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c:188:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
188 | }
| ^
1 warning generated.
vim +188 drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c
a7c30e62d4b895 Vinod Koul 2019-01-21 175
a69650e88a5551 Russell King (Oracle 2026-01-12 176) static int ethqos_set_clk_tx_rate(void *bsp_priv, struct clk *clk_tx_i,
a69650e88a5551 Russell King (Oracle 2026-01-12 177) phy_interface_t interface, int speed)
a7c30e62d4b895 Vinod Koul 2019-01-21 178 {
a69650e88a5551 Russell King (Oracle 2026-01-12 179) struct qcom_ethqos *ethqos = bsp_priv;
98f9928843331f Russell King (Oracle 2025-02-21 180) long rate;
98f9928843331f Russell King (Oracle 2025-02-21 181)
a69650e88a5551 Russell King (Oracle 2026-01-12 182) if (!phy_interface_mode_is_rgmii(interface))
a69650e88a5551 Russell King (Oracle 2026-01-12 183) return 0;
26311cd112d05a Sarosh Hasan 2024-02-26 184
98f9928843331f Russell King (Oracle 2025-02-21 185) rate = rgmii_clock(speed);
98f9928843331f Russell King (Oracle 2025-02-21 186) if (rate > 0)
a69650e88a5551 Russell King (Oracle 2026-01-12 187) clk_set_rate(ethqos->link_clk, rate * 2);
a7c30e62d4b895 Vinod Koul 2019-01-21 @188 }
a7c30e62d4b895 Vinod Koul 2019-01-21 189
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists