[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202502050234.kRVRQjkS-lkp@intel.com>
Date: Wed, 5 Feb 2025 02:50:42 +0800
From: kernel test robot <lkp@...el.com>
To: Gerhard Engleder <gerhard@...leder-embedded.com>, andrew@...n.ch,
hkallweit1@...il.com, linux@...linux.org.uk, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com
Cc: oe-kbuild-all@...ts.linux.dev, netdev@...r.kernel.org,
Gerhard Engleder <gerhard@...leder-embedded.com>,
Oleksij Rempel <o.rempel@...gutronix.de>
Subject: Re: [PATCH net-next v4 6/7] net: selftests: Export
net_test_phy_loopback_*
Hi Gerhard,
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/Gerhard-Engleder/net-phy-Allow-loopback-speed-selection-for-PHY-drivers/20250204-041619
base: net-next/main
patch link: https://lore.kernel.org/r/20250203191057.46351-7-gerhard%40engleder-embedded.com
patch subject: [PATCH net-next v4 6/7] net: selftests: Export net_test_phy_loopback_*
config: s390-randconfig-001-20250204 (https://download.01.org/0day-ci/archive/20250205/202502050234.kRVRQjkS-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250205/202502050234.kRVRQjkS-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/202502050234.kRVRQjkS-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/net/ethernet/freescale/fec_main.c:42:
>> include/net/selftests.h:30:12: warning: 'net_test_phy_loopback_tcp' defined but not used [-Wunused-function]
30 | static int net_test_phy_loopback_tcp(struct net_device *ndev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> include/net/selftests.h:25:12: warning: 'net_test_phy_loopback_udp_mtu' defined but not used [-Wunused-function]
25 | static int net_test_phy_loopback_udp_mtu(struct net_device *ndev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/net_test_phy_loopback_tcp +30 include/net/selftests.h
24
> 25 static int net_test_phy_loopback_udp_mtu(struct net_device *ndev)
26 {
27 return 0;
28 }
29
> 30 static int net_test_phy_loopback_tcp(struct net_device *ndev)
31 {
32 return 0;
33 }
34
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists