* [frank-w-bpi-r2-4.14:6.18-rc 147/148] drivers/net/phy/sfp.c:463:13: warning: 'sfp_quirk_disable_autoneg' defined but not used
@ 2025-11-03 3:19 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-11-03 3:19 UTC (permalink / raw)
To: Frank Wunderlich; +Cc: oe-kbuild-all
tree: https://github.com/frank-w/BPI-R2-4.14 6.18-rc
head: 14f53e679f62008f01f236c7e528c2d89e4b2f3d
commit: 44fe3b3b18ca6b844505d0553166d19137f308ab [147/148] net: sfp: drop unused function after changing 2.5G sfp to rollball
config: nios2-randconfig-r073-20251103 (https://download.01.org/0day-ci/archive/20251103/202511031107.InZkIrzD-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251103/202511031107.InZkIrzD-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/202511031107.InZkIrzD-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/phy/sfp.c:463:13: warning: 'sfp_quirk_disable_autoneg' defined but not used [-Wunused-function]
static void sfp_quirk_disable_autoneg(const struct sfp_eeprom_id *id,
^~~~~~~~~~~~~~~~~~~~~~~~~
vim +/sfp_quirk_disable_autoneg +463 drivers/net/phy/sfp.c
23571c7b964374 Russell King (Oracle 2022-09-13 462)
50e96acbe11667 Russell King (Oracle 2023-03-21 @463) static void sfp_quirk_disable_autoneg(const struct sfp_eeprom_id *id,
a7dc35a9e49b10 Russell King (Oracle 2025-09-16 464) struct sfp_module_caps *caps)
50e96acbe11667 Russell King (Oracle 2023-03-21 465) {
a7dc35a9e49b10 Russell King (Oracle 2025-09-16 466) linkmode_clear_bit(ETHTOOL_LINK_MODE_Autoneg_BIT, caps->link_modes);
50e96acbe11667 Russell King (Oracle 2023-03-21 467) }
50e96acbe11667 Russell King (Oracle 2023-03-21 468)
:::::: The code at line 463 was first introduced by commit
:::::: 50e96acbe11667b6fe9d99e1348c6c224b2f11dd net: sfp: add quirk for 2.5G copper SFP
:::::: TO: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
:::::: CC: Jakub Kicinski <kuba@kernel.org>
--
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-11-03 3:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-03 3:19 [frank-w-bpi-r2-4.14:6.18-rc 147/148] drivers/net/phy/sfp.c:463:13: warning: 'sfp_quirk_disable_autoneg' defined but not used kernel test robot
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.