All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 11630/12271] kernel/reboot.c:10:1: iwyu: warning: superfluous #include <linux/atomic.h>
@ 2021-06-22 21:59 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-22 21:59 UTC (permalink / raw)
  To: kbuild

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-22 21:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-22 21:59 [linux-next:master 11630/12271] kernel/reboot.c:10:1: iwyu: warning: superfluous #include <linux/atomic.h> kernel test robot

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.