All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: [linux-next:master 11630/12271] kernel/reboot.c:10:1: iwyu: warning: superfluous #include <linux/atomic.h>
Date: Wed, 23 Jun 2021 05:59:22 +0800	[thread overview]
Message-ID: <202106230512.QffHfRnq-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3175 bytes --]

CC: kbuild-all(a)lists.01.org
CC: Linux Memory Management List <linux-mm@kvack.org>
TO: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>, Matti Vaittinen <mazziesaccount@gmail.com>
CC: Mark Brown <broonie@kernel.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   4238b1710eadd18dd16de0288a2bc5bb84614b4e
commit: dfa19b11385d4cf8f0242fd93e2073e25183c331 [11630/12271] reboot: Add hardware protection power-off
:::::: branch date: 11 hours ago
:::::: commit date: 34 hours ago
config: x86_64-randconfig-b001-20210622 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project b3634d3e88b7f26534a5057bff182b7dced584fc)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # apt-get install iwyu # include-what-you-use
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=dfa19b11385d4cf8f0242fd93e2073e25183c331
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout dfa19b11385d4cf8f0242fd93e2073e25183c331
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross C=1 CHECK=iwyu ARCH=x86_64 

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


iwyu warnings: (new ones prefixed by >>)
>> kernel/reboot.c:10:1: iwyu: warning: superfluous #include <linux/atomic.h>
   kernel/reboot.c:13:1: iwyu: warning: superfluous #include <linux/kexec.h>
   kernel/reboot.c:14:1: iwyu: warning: superfluous #include <linux/kmod.h>
   kernel/reboot.c:17:1: iwyu: warning: superfluous #include <linux/suspend.h>
   kernel/reboot.c:20:1: iwyu: warning: superfluous #include <linux/uaccess.h>

vim +10 kernel/reboot.c

972ee83df88a7f Robin Holt      2013-07-08   9  
dfa19b11385d4c Matti Vaittinen 2021-06-03 @10  #include <linux/atomic.h>
1b3a5d02ee070c Robin Holt      2013-07-08  11  #include <linux/ctype.h>
15d94b82565ebf Robin Holt      2013-07-08  12  #include <linux/export.h>
15d94b82565ebf Robin Holt      2013-07-08  13  #include <linux/kexec.h>
15d94b82565ebf Robin Holt      2013-07-08  14  #include <linux/kmod.h>
15d94b82565ebf Robin Holt      2013-07-08  15  #include <linux/kmsg_dump.h>
15d94b82565ebf Robin Holt      2013-07-08  16  #include <linux/reboot.h>
15d94b82565ebf Robin Holt      2013-07-08  17  #include <linux/suspend.h>
15d94b82565ebf Robin Holt      2013-07-08  18  #include <linux/syscalls.h>
15d94b82565ebf Robin Holt      2013-07-08  19  #include <linux/syscore_ops.h>
15d94b82565ebf Robin Holt      2013-07-08  20  #include <linux/uaccess.h>
15d94b82565ebf Robin Holt      2013-07-08  21  

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 41053 bytes --]

                 reply	other threads:[~2021-06-22 21:59 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=202106230512.QffHfRnq-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild@lists.01.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.