From: kernel test robot <lkp@intel.com>
To: Gerhard Engleder <gerhard@engleder-embedded.com>,
andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk,
davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com
Cc: oe-kbuild-all@lists.linux.dev, netdev@vger.kernel.org,
Gerhard Engleder <gerhard@engleder-embedded.com>,
Oleksij Rempel <o.rempel@pengutronix.de>
Subject: Re: [PATCH net-next v4 6/7] net: selftests: Export net_test_phy_loopback_*
Date: Wed, 5 Feb 2025 02:50:42 +0800 [thread overview]
Message-ID: <202502050234.kRVRQjkS-lkp@intel.com> (raw)
In-Reply-To: <20250203191057.46351-7-gerhard@engleder-embedded.com>
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@intel.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
next prev parent reply other threads:[~2025-02-04 18:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-03 19:10 [PATCH net-next v4 0/7] Support loopback mode speed selection Gerhard Engleder
2025-02-03 19:10 ` [PATCH net-next v4 1/7] net: phy: Allow loopback speed selection for PHY drivers Gerhard Engleder
2025-02-03 19:10 ` [PATCH net-next v4 2/7] net: phy: Support speed selection for PHY loopback Gerhard Engleder
2025-02-03 19:10 ` [PATCH net-next v4 3/7] net: phy: micrel: Add loopback support Gerhard Engleder
2025-02-03 19:54 ` Russell King (Oracle)
2025-02-04 20:26 ` Gerhard Engleder
2025-02-03 19:10 ` [PATCH net-next v4 4/7] net: phy: marvell: Align set_loopback() implementation Gerhard Engleder
2025-02-03 19:10 ` [PATCH net-next v4 5/7] tsnep: Select speed for loopback Gerhard Engleder
2025-02-03 19:10 ` [PATCH net-next v4 6/7] net: selftests: Export net_test_phy_loopback_* Gerhard Engleder
2025-02-04 18:50 ` kernel test robot [this message]
2025-02-03 19:10 ` [PATCH net-next v4 7/7] tsnep: Add PHY loopback selftests Gerhard Engleder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202502050234.kRVRQjkS-lkp@intel.com \
--to=lkp@intel.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=gerhard@engleder-embedded.com \
--cc=hkallweit1@gmail.com \
--cc=kuba@kernel.org \
--cc=linux@armlinux.org.uk \
--cc=netdev@vger.kernel.org \
--cc=o.rempel@pengutronix.de \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).