From: kernel test robot <lkp@intel.com>
To: Eric Biggers <ebiggers@google.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [ebiggers:wip-crc 11/11] arch/um/include/asm/fpu/api.h:16:9: error: use of undeclared identifier 'true'
Date: Sun, 30 Mar 2025 15:47:24 +0800 [thread overview]
Message-ID: <202503301503.yFvzJppL-lkp@intel.com> (raw)
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
reply other threads:[~2025-03-30 7:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202503301503.yFvzJppL-lkp@intel.com \
--to=lkp@intel.com \
--cc=ebiggers@google.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox