[herbert-cryptodev-2.6:master 50/70] arch/um/include/asm/fpu/api.h:14:15: error: unknown type name 'bool'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx/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@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/202505070045.vWc04ygs-lkp@xxxxxxxxx/

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@xxxxxxxxxxxxxxxxxx>
:::::: CC: Richard Weinberger <richard@xxxxxx>

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




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux