From: kernel test robot <lkp@intel.com>
To: Jijie Shao <shaojijie@huawei.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH RFC net-next 1/2] net: selftest: add net_selftest_custom() interface
Date: Tue, 22 Apr 2025 07:25:17 +0800 [thread overview]
Message-ID: <202504220756.HQDY7mTU-lkp@intel.com> (raw)
In-Reply-To: <20250421134358.1241851-2-shaojijie@huawei.com>
Hi Jijie,
[This is a private test report for your RFC patch.]
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/Jijie-Shao/net-selftest-add-net_selftest_custom-interface/20250421-215737
base: net-next/main
patch link: https://lore.kernel.org/r/20250421134358.1241851-2-shaojijie%40huawei.com
patch subject: [PATCH RFC net-next 1/2] net: selftest: add net_selftest_custom() interface
config: powerpc-randconfig-003-20250422 (https://download.01.org/0day-ci/archive/20250422/202504220756.HQDY7mTU-lkp@intel.com/config)
compiler: clang version 16.0.6 (https://github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250422/202504220756.HQDY7mTU-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/202504220756.HQDY7mTU-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:77:6: warning: no previous prototype for function 'net_selftest_custom' [-Wmissing-prototypes]
void net_selftest_custom(struct net_device *ndev, struct net_test *test,
^
include/net/selftests.h:77:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void net_selftest_custom(struct net_device *ndev, struct net_test *test,
^
static
>> include/net/selftests.h:82:5: warning: no previous prototype for function 'net_selftest_get_count_custom' [-Wmissing-prototypes]
int net_selftest_get_count_custom(struct net_test *test)
^
include/net/selftests.h:82:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int net_selftest_get_count_custom(struct net_test *test)
^
static
>> include/net/selftests.h:87:6: warning: no previous prototype for function 'net_selftest_get_strings_custom' [-Wmissing-prototypes]
void net_selftest_get_strings_custom(struct net_test *test, u8 *data)
^
include/net/selftests.h:87:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void net_selftest_get_strings_custom(struct net_test *test, u8 *data)
^
static
3 warnings generated.
vim +/net_selftest_custom +77 include/net/selftests.h
76
> 77 void net_selftest_custom(struct net_device *ndev, struct net_test *test,
78 struct ethtool_test *etest, u64 *buf)
79 {
80 }
81
> 82 int net_selftest_get_count_custom(struct net_test *test)
83 {
84 return 0;
85 }
86
> 87 void net_selftest_get_strings_custom(struct net_test *test, u8 *data)
88 {
89 }
90
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
parent reply other threads:[~2025-04-21 23:26 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20250421134358.1241851-2-shaojijie@huawei.com>]
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=202504220756.HQDY7mTU-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=shaojijie@huawei.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