lib/tests/string_kunit.c:866:9: sparse: sparse: not a function __func
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild |
|---|---|
| Message-ID | <[email protected]> |
:::::: :::::: Manual check reason: "low confidence static check warning: lib/tests/string_kunit.c:866:9: sparse: sparse: not a function __func" :::::: BCC: [email protected] CC: [email protected] CC: [email protected] TO: Feng Jiang <[email protected]> CC: Paul Walmsley <[email protected]> CC: Kees Cook <[email protected]> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 3a0dd7ba4f44cdc116d83712f61e7c1a95be3588 commit: 0020240a431187628e2636284023e63b9b7a2aa1 lib/string_kunit: add performance benchmark for strlen() date: 5 months ago :::::: branch date: 6 hours ago :::::: commit date: 5 months ago config: s390-randconfig-r132-20260818 (https://download.01.org/0day-ci/archive/20260819/[email protected]/config) compiler: s390-linux-gcc (GCC) 15.2.0 sparse: v0.6.5-rc1 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260819/[email protected]/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 | Fixes: 0020240a4311 ("lib/string_kunit: add performance benchmark for strlen()") | Reported-by: kernel test robot <[email protected]> | Closes: https://lore.kernel.org/r/[email protected]/ sparse warnings: (new ones prefixed by >>) lib/tests/string_kunit.c:866:9: sparse: sparse: undefined identifier 'strlen' lib/tests/string_kunit.c:866:9: sparse: sparse: undefined identifier 'strlen' >> lib/tests/string_kunit.c:866:9: sparse: sparse: not a function __func >> lib/tests/string_kunit.c:866:9: sparse: sparse: not a function __func vim +866 lib/tests/string_kunit.c 0020240a431187 Feng Jiang 2026-04-03 863 0020240a431187 Feng Jiang 2026-04-03 864 static void string_bench_strlen(struct kunit *test) 0020240a431187 Feng Jiang 2026-04-03 865 { 0020240a431187 Feng Jiang 2026-04-03 @866 STRING_BENCH_BUF(test, buf, len, strlen, buf); 0020240a431187 Feng Jiang 2026-04-03 867 } 0020240a431187 Feng Jiang 2026-04-03 868 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki