* lib/tests/string_kunit.c:1014:25: error: 'string_bench_memcmp' undeclared here (not in a function); did you mean 'string_test_memcmp'?
@ 2026-05-14 6:43 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-14 6:43 UTC (permalink / raw)
To: Milan Tripkovic; +Cc: oe-kbuild-all, 0day robot
tree: https://github.com/intel-lab-lkp/linux/commits/Milan-Tripkovic/lib-string_kunit-extend-benchmarks-and-unit-test-to-memcmp/20260514-061117
head: 63994c99c1cec63db18bebab3030f0c0e9d43ea5
commit: 63994c99c1cec63db18bebab3030f0c0e9d43ea5 lib/string_kunit: extend benchmarks and unit test to memcmp()
date: 8 hours ago
config: x86_64-rhel-9.4-kunit (https://download.01.org/0day-ci/archive/20260514/202605140815.XCfr5fd8-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260514/202605140815.XCfr5fd8-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/202605140815.XCfr5fd8-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from lib/tests/string_kunit.c:8:
>> lib/tests/string_kunit.c:1014:25: error: 'string_bench_memcmp' undeclared here (not in a function); did you mean 'string_test_memcmp'?
1014 | KUNIT_CASE_SLOW(string_bench_memcmp),
| ^~~~~~~~~~~~~~~~~~~
include/kunit/test.h:188:31: note: in definition of macro 'KUNIT_CASE_SLOW'
188 | { .run_case = test_name, .name = #test_name, \
| ^~~~~~~~~
vim +1014 lib/tests/string_kunit.c
983
984 static struct kunit_case string_test_cases[] = {
985 KUNIT_CASE(string_test_memset16),
986 KUNIT_CASE(string_test_memset32),
987 KUNIT_CASE(string_test_memset64),
988 KUNIT_CASE(string_test_strlen),
989 KUNIT_CASE(string_test_strnlen),
990 KUNIT_CASE(string_test_strchr),
991 KUNIT_CASE(string_test_strnchr),
992 KUNIT_CASE(string_test_strrchr),
993 KUNIT_CASE(string_test_strspn),
994 KUNIT_CASE(string_test_strcmp),
995 KUNIT_CASE(string_test_strcmp_long_strings),
996 KUNIT_CASE(string_test_strncmp),
997 KUNIT_CASE(string_test_strncmp_long_strings),
998 KUNIT_CASE(string_test_strcasecmp),
999 KUNIT_CASE(string_test_strcasecmp_long_strings),
1000 KUNIT_CASE(string_test_strncasecmp),
1001 KUNIT_CASE(string_test_strncasecmp_long_strings),
1002 KUNIT_CASE(string_test_strscpy),
1003 KUNIT_CASE(string_test_strcat),
1004 KUNIT_CASE(string_test_strncat),
1005 KUNIT_CASE(string_test_strlcat),
1006 KUNIT_CASE(string_test_strtomem),
1007 KUNIT_CASE(string_test_memtostr),
1008 KUNIT_CASE(string_test_strends),
1009 KUNIT_CASE(string_bench_strlen),
1010 KUNIT_CASE(string_bench_strnlen),
1011 KUNIT_CASE(string_bench_strchr),
1012 KUNIT_CASE(string_bench_strrchr),
1013 KUNIT_CASE(string_test_memcmp),
> 1014 KUNIT_CASE_SLOW(string_bench_memcmp),
1015 {}
1016 };
1017
--
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:[~2026-05-14 6:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-14 6:43 lib/tests/string_kunit.c:1014:25: error: 'string_bench_memcmp' undeclared here (not in a function); did you mean 'string_test_memcmp'? 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.