public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [peterz-queue:x86/wip.ibt 14/42] arch/x86/include/asm/ibt.h:56:15: error: unknown type name 'bool'
Date: Thu, 24 Feb 2022 11:21:47 +0800	[thread overview]
Message-ID: <202202241136.iI0FBBxt-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/wip.ibt
head:   27b6438f414b6a37b60dcd90c8980397586d49db
commit: 20396b2dbe8963dd71dae05fbc84ffc03a7db435 [14/42] x86/linkage: Add ENDBR to SYM_FUNC_START*()
config: um-i386_defconfig (https://download.01.org/0day-ci/archive/20220224/202202241136.iI0FBBxt-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=20396b2dbe8963dd71dae05fbc84ffc03a7db435
        git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
        git fetch --no-tags peterz-queue x86/wip.ibt
        git checkout 20396b2dbe8963dd71dae05fbc84ffc03a7db435
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=um SUBARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from arch/x86/include/asm/linkage.h:6,
                    from include/linux/linkage.h:8,
                    from include/linux/fs.h:5,
                    from include/linux/tty.h:5,
                    from arch/um/drivers/stdio_console.c:7:
>> arch/x86/include/asm/ibt.h:56:15: error: unknown type name 'bool'
      56 | static inline bool is_endbr(unsigned int val) { return false; }
         |               ^~~~
--
   In file included from arch/x86/include/asm/linkage.h:6,
                    from include/linux/linkage.h:8,
                    from include/linux/fs.h:5,
                    from arch/um/drivers/ssl.c:6:
>> arch/x86/include/asm/ibt.h:56:15: error: unknown type name 'bool'
      56 | static inline bool is_endbr(unsigned int val) { return false; }
         |               ^~~~
   arch/x86/include/asm/ibt.h: In function 'is_endbr':
>> arch/x86/include/asm/ibt.h:56:56: error: 'false' undeclared (first use in this function)
      56 | static inline bool is_endbr(unsigned int val) { return false; }
         |                                                        ^~~~~
   arch/x86/include/asm/ibt.h:56:56: note: each undeclared identifier is reported only once for each function it appears in
--
   In file included from arch/x86/include/asm/linkage.h:6,
                    from include/linux/linkage.h:8,
                    from include/linux/fs.h:5,
                    from fs/proc/meminfo.c:2:
>> arch/x86/include/asm/ibt.h:56:15: error: unknown type name 'bool'
      56 | static inline bool is_endbr(unsigned int val) { return false; }
         |               ^~~~
   arch/x86/include/asm/ibt.h: In function 'is_endbr':
>> arch/x86/include/asm/ibt.h:56:56: error: 'false' undeclared (first use in this function)
      56 | static inline bool is_endbr(unsigned int val) { return false; }
         |                                                        ^~~~~
   arch/x86/include/asm/ibt.h:56:56: note: each undeclared identifier is reported only once for each function it appears in
   fs/proc/meminfo.c: At top level:
   fs/proc/meminfo.c:22:28: warning: no previous prototype for 'arch_report_meminfo' [-Wmissing-prototypes]
      22 | void __attribute__((weak)) arch_report_meminfo(struct seq_file *m)
         |                            ^~~~~~~~~~~~~~~~~~~


vim +/bool +56 arch/x86/include/asm/ibt.h

69011263a3481b Peter Zijlstra 2021-11-22  55  
69011263a3481b Peter Zijlstra 2021-11-22 @56  static inline bool is_endbr(unsigned int val) { return false; }
69011263a3481b Peter Zijlstra 2021-11-22  57  

:::::: The code at line 56 was first introduced by commit
:::::: 69011263a3481be7b367f61296ebd9a79cd8512e x86: Base IBT bits

:::::: TO: Peter Zijlstra <peterz@infradead.org>
:::::: CC: Peter Zijlstra <peterz@infradead.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

                 reply	other threads:[~2022-02-24  3:22 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=202202241136.iI0FBBxt-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peterz@infradead.org \
    /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