public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [ebiggers:wip-crc 11/11] arch/um/include/asm/fpu/api.h:16:9: error: use of undeclared identifier 'true'
@ 2025-03-30  7:47 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-03-30  7:47 UTC (permalink / raw)
  To: Eric Biggers; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git wip-crc
head:   e56e2af8867c3690298e889b9febb1cb4d712341
commit: e56e2af8867c3690298e889b9febb1cb4d712341 [11/11] lib/crc_kunit.c: add proper nosimd testing
config: um-allmodconfig (https://download.01.org/0day-ci/archive/20250330/202503301503.yFvzJppL-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250330/202503301503.yFvzJppL-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/202503301503.yFvzJppL-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from lib/simd.c:8:
   In file included from include/linux/simd.h:4:
   In file included from arch/x86/include/asm/simd.h:6:
   arch/um/include/asm/fpu/api.h:14:15: error: unknown type name 'bool'
      14 | static inline bool irq_fpu_usable(void)
         |               ^
>> arch/um/include/asm/fpu/api.h:16:9: error: use of undeclared identifier 'true'
      16 |         return true;
         |                ^
   In file included from lib/simd.c:8:
   In file included from include/linux/simd.h:4:
   arch/x86/include/asm/simd.h:8:28: error: unknown type name 'bool'
       8 | static __must_check inline bool __may_use_simd(void)
         |                            ^
   3 errors generated.


vim +/true +16 arch/um/include/asm/fpu/api.h

c0ecca6604b80e Anton Ivanov 2021-03-12  13  
c0ecca6604b80e Anton Ivanov 2021-03-12  14  static inline bool irq_fpu_usable(void)
c0ecca6604b80e Anton Ivanov 2021-03-12  15  {
c0ecca6604b80e Anton Ivanov 2021-03-12 @16  	return true;
c0ecca6604b80e Anton Ivanov 2021-03-12  17  }
c0ecca6604b80e Anton Ivanov 2021-03-12  18  

:::::: The code at line 16 was first introduced by commit
:::::: c0ecca6604b80e438b032578634c6e133c7028f6 um: enable the use of optimized xor routines in UML

:::::: TO: Anton Ivanov <anton.ivanov@cambridgegreys.com>
:::::: CC: Richard Weinberger <richard@nod.at>

-- 
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:[~2025-03-30  7:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-30  7:47 [ebiggers:wip-crc 11/11] arch/um/include/asm/fpu/api.h:16:9: error: use of undeclared identifier 'true' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox