Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: [PATCH net-next 06/13] net: phy: Intrduce generic SFP handling for PHY drivers
       [not found] <20250207223634.600218-7-maxime.chevallier@bootlin.com>
@ 2025-02-08 15:32 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-02-08 15:32 UTC (permalink / raw)
  To: Maxime Chevallier, davem
  Cc: llvm, oe-kbuild-all, Maxime Chevallier, netdev, linux-kernel,
	linux-arm-msm, thomas.petazzoni, Andrew Lunn, Jakub Kicinski,
	Eric Dumazet, Paolo Abeni, Russell King, linux-arm-kernel,
	Christophe Leroy, Herve Codina, Florian Fainelli, Heiner Kallweit,
	Vladimir Oltean, Köry Maincent, Marek Behún,
	Oleksij Rempel, Nicolò Veronese, Simon Horman, mwojtas,
	Antoine Tenart, devicetree, Conor Dooley, Krzysztof Kozlowski,
	Rob Herring, Romain Gantois

Hi Maxime,

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/Maxime-Chevallier/net-ethtool-Introduce-ETHTOOL_LINK_MEDIUM_-values/20250208-064223
base:   net-next/main
patch link:    https://lore.kernel.org/r/20250207223634.600218-7-maxime.chevallier%40bootlin.com
patch subject: [PATCH net-next 06/13] net: phy: Intrduce generic SFP handling for PHY drivers
config: i386-buildonly-randconfig-004-20250208 (https://download.01.org/0day-ci/archive/20250208/202502082328.PaOrs2Uu-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250208/202502082328.PaOrs2Uu-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/202502082328.PaOrs2Uu-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/net/phy/phy_device.c:3682: warning: Function parameter or struct member 'phydev' not described in 'phy_get_sfp_port'


vim +3682 drivers/net/phy/phy_device.c

  3677	
  3678	/**
  3679	 * phy_get_sfp_port() - Returns the first valid SFP port of a PHY
  3680	 */
  3681	struct phy_port *phy_get_sfp_port(struct phy_device *phydev)
> 3682	{
  3683		struct phy_port *port;
  3684		list_for_each_entry(port, &phydev->ports, head)
  3685			if (port->active && port->is_serdes)
  3686				return port;
  3687	
  3688		return NULL;
  3689	}
  3690	EXPORT_SYMBOL_GPL(phy_get_sfp_port);
  3691	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-02-08 15:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20250207223634.600218-7-maxime.chevallier@bootlin.com>
2025-02-08 15:32 ` [PATCH net-next 06/13] net: phy: Intrduce generic SFP handling for PHY drivers kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox