[Linux-stm32] [net-next PATCH v5 05/10] net: pcs: lynx: Convert to an MDIO driver

kernel test robot lkp at intel.com
Sat May 24 08:42:34 UTC 2025


Hi Sean,

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-Xilinx-PCS/20250524-043901
base:   net-next/main
patch link:    https://lore.kernel.org/r/20250523203339.1993685-6-sean.anderson%40linux.dev
patch subject: [net-next PATCH v5 05/10] net: pcs: lynx: Convert to an MDIO driver
config: x86_64-randconfig-074-20250524 (https://download.01.org/0day-ci/archive/20250524/202505241618.qJrsEs8c-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250524/202505241618.qJrsEs8c-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505241618.qJrsEs8c-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/net/pcs/pcs-lynx.c:374:34: warning: 'lynx_pcs_of_match' defined but not used [-Wunused-const-variable=]
     374 | static const struct of_device_id lynx_pcs_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~


vim +/lynx_pcs_of_match +374 drivers/net/pcs/pcs-lynx.c

   373	
 > 374	static const struct of_device_id lynx_pcs_of_match[] = {
   375		{ .compatible = "fsl,lynx-pcs" },
   376		{ },
   377	};
   378	MODULE_DEVICE_TABLE(of, lynx_pcs_of_match);
   379	

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



More information about the Linux-stm32 mailing list