lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202508161615.Zd1agg0S-lkp@intel.com>
Date: Sat, 16 Aug 2025 16:35:43 +0800
From: kernel test robot <lkp@...el.com>
To: Daniel Golle <daniel@...rotopia.org>, Xu Liang <lxu@...linear.com>,
	Andrew Lunn <andrew@...n.ch>,
	Heiner Kallweit <hkallweit1@...il.com>,
	Russell King <linux@...linux.org.uk>,
	"David S. Miller" <davem@...emloft.net>,
	Eric Dumazet <edumazet@...gle.com>,
	Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
	linux-kernel@...r.kernel.org
Cc: oe-kbuild-all@...ts.linux.dev, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 2/2] net: phy: mxl-86110: add basic support for
 MxL86111 PHY

Hi Daniel,

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/Daniel-Golle/net-phy-mxl-86110-add-basic-support-for-MxL86111-PHY/20250816-003534
base:   net-next/main
patch link:    https://lore.kernel.org/r/aJ9hZ6kan3Wlhxkt%40pidgin.makrotopia.org
patch subject: [PATCH net-next 2/2] net: phy: mxl-86110: add basic support for MxL86111 PHY
config: x86_64-buildonly-randconfig-003-20250816 (https://download.01.org/0day-ci/archive/20250816/202508161615.Zd1agg0S-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14+deb12u1) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250816/202508161615.Zd1agg0S-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/202508161615.Zd1agg0S-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/net/phy/mxl-86110.c: In function 'mxl86111_probe':
>> drivers/net/phy/mxl-86110.c:736:13: warning: variable 'reg_page' set but not used [-Wunused-but-set-variable]
     736 |         u16 reg_page;
         |             ^~~~~~~~


vim +/reg_page +736 drivers/net/phy/mxl-86110.c

   726	
   727	/**
   728	 * mxl86111_probe() - validate bootstrap chip config and set UTP page
   729	 * @phydev: pointer to the phy_device
   730	 *
   731	 * returns 0 or negative errno code
   732	 */
   733	static int mxl86111_probe(struct phy_device *phydev)
   734	{
   735		int chip_config;
 > 736		u16 reg_page;
   737		int ret;
   738	
   739		chip_config = mxl86110_read_extended_reg(phydev, MXL86110_EXT_CHIP_CFG_REG);
   740		if (chip_config < 0)
   741			return chip_config;
   742	
   743		switch (chip_config & MXL86111_EXT_CHIP_CFG_MODE_SEL_MASK) {
   744		case MXL86111_EXT_CHIP_CFG_MODE_UTP_TO_SGMII:
   745		case MXL86111_EXT_CHIP_CFG_MODE_UTP_TO_RGMII:
   746			phydev->port = PORT_TP;
   747			reg_page = MXL86111_EXT_SMI_SDS_PHYUTP_SPACE;
   748			break;
   749		default:
   750			return -EOPNOTSUPP;
   751		}
   752	
   753		ret = mxl86110_write_extended_reg(phydev,
   754						  MXL86111_EXT_SMI_SDS_PHY_REG,
   755						  MXL86111_EXT_SMI_SDS_PHYUTP_SPACE);
   756		if (ret < 0)
   757			return ret;
   758	
   759		return 0;
   760	}
   761	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ