[PATCH v8 4/4] kunit: Add documentation for warning backtrace suppression API
kernel test robot
lkp at intel.com
Tue May 12 23:12:05 PDT 2026
Hi Alessandro,
kernel test robot noticed the following build errors:
[auto build test ERROR on 80234b5ab240f52fa45d201e899e207b9265ef91]
url: https://github.com/intel-lab-lkp/linux/commits/Albert-Esteve/bug-kunit-Core-support-for-suppressing-warning-backtraces/20260513-043807
base: 80234b5ab240f52fa45d201e899e207b9265ef91
patch link: https://lore.kernel.org/r/20260504-kunit_add_support-v8-4-3e5957cdd235%40redhat.com
patch subject: [PATCH v8 4/4] kunit: Add documentation for warning backtrace suppression API
config: x86_64-rhel-9.4-ltp (https://download.01.org/0day-ci/archive/20260513/202605130826.e6Lyyytr-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/20260513/202605130826.e6Lyyytr-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202605130826.e6Lyyytr-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/gpu/drm/drm_buddy.c:6:
>> include/kunit/test-bug.h:90:15: error: unknown type name 'bool'
90 | static inline bool kunit_is_suppressed_warning(bool count) { return false; }
| ^~~~
include/kunit/test-bug.h:13:1: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
12 | #include <linux/stddef.h> /* for NULL */
+++ |+#include <stdbool.h>
13 |
include/kunit/test-bug.h:90:48: error: unknown type name 'bool'
90 | static inline bool kunit_is_suppressed_warning(bool count) { return false; }
| ^~~~
include/kunit/test-bug.h:90:48: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
vim +/bool +90 include/kunit/test-bug.h
88
89 static inline struct kunit *kunit_get_current_test(void) { return NULL; }
> 90 static inline bool kunit_is_suppressed_warning(bool count) { return false; }
91
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the linux-riscv
mailing list