Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [herbert-cryptodev-2.6:master 50/70] arch/um/include/asm/fpu/api.h:14:15: error: unknown type name 'bool'
@ 2025-05-06 16:25 kernel test robot
  2025-05-07  1:41 ` [PATCH] um: Include linux/types.h in asm/fpu/api.h Herbert Xu
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2025-05-06 16:25 UTC (permalink / raw)
  To: Herbert Xu; +Cc: llvm, oe-kbuild-all, linux-crypto

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
head:   9b9d4ef0cf750c514735bfd77745387b95cbddda
commit: 5b90a779bc547939421bfeb333e470658ba94fb6 [50/70] crypto: lib/sha256 - Add helpers for block-based shash
config: um-randconfig-001-20250506 (https://download.01.org/0day-ci/archive/20250507/202505070045.vWc04ygs-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250507/202505070045.vWc04ygs-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/202505070045.vWc04ygs-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from lib/crypto/sha256.c:14:
   In file included from include/crypto/internal/sha2.h:6:
   In file included from include/crypto/internal/simd.h:9:
   In file included from arch/x86/include/asm/simd.h:5:
>> 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;
         |                ^
   2 errors generated.


vim +/bool +14 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 14 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] 3+ messages in thread

end of thread, other threads:[~2025-05-07  5:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-06 16:25 [herbert-cryptodev-2.6:master 50/70] arch/um/include/asm/fpu/api.h:14:15: error: unknown type name 'bool' kernel test robot
2025-05-07  1:41 ` [PATCH] um: Include linux/types.h in asm/fpu/api.h Herbert Xu
2025-05-07  5:41   ` Johannes Berg

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