Re: [PATCH 01/15] selftests: kselftest: Create ksft_print_dbg_msg()

From: kernel test robot
Date: Sat Jul 05 2025 - 23:06:17 EST


Hi André,

kernel test robot noticed the following build errors:

[auto build test ERROR on a24cc6ce1933eade12aa2b9859de0fcd2dac2c06]

url: https://github.com/intel-lab-lkp/linux/commits/Andr-Almeida/selftests-kselftest-Create-ksft_print_dbg_msg/20250704-231034
base: a24cc6ce1933eade12aa2b9859de0fcd2dac2c06
patch link: https://lore.kernel.org/r/20250704-tonyk-robust_test_cleanup-v1-1-c0ff4f24c4e1%40igalia.com
patch subject: [PATCH 01/15] selftests: kselftest: Create ksft_print_dbg_msg()
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20250706/202507061039.0ZKQCW5y-lkp@xxxxxxxxx/config)
compiler: clang version 20.1.7 (https://github.com/llvm/llvm-project 6146a88f60492b520a36f8f8f3231e15f3cc6082)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250706/202507061039.0ZKQCW5y-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202507061039.0ZKQCW5y-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

In file included from samples/vfs/test-list-all-mounts.c:11:
In file included from samples/vfs/../../tools/testing/selftests/pidfd/pidfd.h:19:
>> samples/vfs/../../tools/testing/selftests/pidfd/../kselftest.h:107:8: error: unknown type name 'bool'
107 | static bool ksft_debug_enabled;
| ^
1 error generated.


vim +/bool +107 samples/vfs/../../tools/testing/selftests/pidfd/../kselftest.h

104
105 static struct ksft_count ksft_cnt;
106 static unsigned int ksft_plan;
> 107 static bool ksft_debug_enabled;
108

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki