* Re: [PATCH RFC net-next 1/2] net: selftest: add net_selftest_custom() interface
[not found] <20250421134358.1241851-2-shaojijie@huawei.com>
@ 2025-04-21 23:25 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-04-21 23:25 UTC (permalink / raw)
To: Jijie Shao; +Cc: llvm, oe-kbuild-all
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
^ permalink raw reply [flat|nested] only message in thread