mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Jason A. Donenfeld" <zx2c4@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Sasha Levin <sashal@kernel.org>
Subject: [linux-stable-rc:linux-5.10.y 7936/7987] include/linux/types.h:30:33: error: two or more data types in declaration specifiers
Date: Sun, 21 Aug 2022 07:41:15 +0800	[thread overview]
Message-ID: <202208210710.fFNAH58i-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y
head:   879ffc7efcbe48e91264fd3bd3ec52cbcf69114c
commit: 56660dd43bbfcd7b0a6872f3ceb0c924fe2f5af9 [7936/7987] um: seed rng using host OS rng
config: um-kunit_defconfig (https://download.01.org/0day-ci/archive/20220821/202208210710.fFNAH58i-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=56660dd43bbfcd7b0a6872f3ceb0c924fe2f5af9
        git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
        git fetch --no-tags linux-stable-rc linux-5.10.y
        git checkout 56660dd43bbfcd7b0a6872f3ceb0c924fe2f5af9
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=um SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

   cc1: warning: arch/um/include/uapi: No such file or directory [-Wmissing-include-dirs]
   In file included from arch/um/include/shared/irq_user.h:10,
                    from arch/um/include/shared/os.h:12,
                    from arch/um/kernel/umid.c:9:
>> include/linux/stddef.h:11:9: error: expected identifier before numeric constant
      11 |         false   = 0,
         |         ^~~~~
>> include/linux/types.h:30:33: error: two or more data types in declaration specifiers
      30 | typedef _Bool                   bool;
         |                                 ^~~~
   In file included from arch/um/include/shared/os.h:17,
                    from arch/um/kernel/umid.c:9:
   include/linux/types.h:30:1: warning: useless type name in empty declaration
      30 | typedef _Bool                   bool;
         | ^~~~~~~


vim +30 include/linux/types.h

^1da177e4c3f415 Linus Torvalds   2005-04-16  29  
6e2182874324727 Richard Knutsson 2006-09-30 @30  typedef _Bool			bool;
6e2182874324727 Richard Knutsson 2006-09-30  31  

:::::: The code at line 30 was first introduced by commit
:::::: 6e21828743247270d09a86756a0c11702500dbfb [PATCH] Generic boolean

:::::: TO: Richard Knutsson <ricknu-0@student.ltu.se>
:::::: CC: Linus Torvalds <torvalds@g5.osdl.org>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

                 reply	other threads:[~2022-08-20 23:42 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=202208210710.fFNAH58i-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sashal@kernel.org \
    --cc=zx2c4@kernel.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

Powered by JetHome