From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: arch/x86/kvm/x86.c:61:1: iwyu: warning: superfluous #include <linux/suspend.h>
Date: Tue, 20 Jul 2021 16:16:30 +0800 [thread overview]
Message-ID: <202107201622.lYOOB25c-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 8018 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Sergey Senozhatsky <senozhatsky@chromium.org>
CC: Paolo Bonzini <pbonzini@redhat.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 2734d6c1b1a089fb593ef6a23d4b70903526fe0c
commit: 7d62874f69d7e5c1c1063a5848075bd1adff3998 kvm: x86: implement KVM PM-notifier
date: 5 weeks ago
:::::: branch date: 35 hours ago
:::::: commit date: 5 weeks ago
config: x86_64-randconfig-b001-20210720 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 5d5b08761f944d5b9822d582378333cc4b36a0a7)
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/torvalds/linux.git/commit/?id=7d62874f69d7e5c1c1063a5848075bd1adff3998
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 7d62874f69d7e5c1c1063a5848075bd1adff3998
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross C=1 CHECK=iwyu O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/kvm/ block/ drivers/mfd/ drivers/usb/storage/ drivers/watchdog/
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 >>)
arch/x86/kvm/x86.c:73:1: iwyu: warning: superfluous #include <asm/irq_remapping.h>
arch/x86/kvm/x86.c:79:1: iwyu: warning: superfluous #include <asm/sgx.h>
arch/x86/kvm/x86.c:76:1: iwyu: warning: superfluous #include <asm/tlbflush.h>
arch/x86/kvm/x86.c:42:1: iwyu: warning: superfluous #include <linux/highmem.h>
arch/x86/kvm/x86.c:44:1: iwyu: warning: superfluous #include <linux/intel-iommu.h>
arch/x86/kvm/x86.c:35:1: iwyu: warning: superfluous #include <linux/interrupt.h>
arch/x86/kvm/x86.c:43:1: iwyu: warning: superfluous #include <linux/iommu.h>
arch/x86/kvm/x86.c:69:1: iwyu: warning: superfluous #include <linux/kernel_stat.h>
arch/x86/kvm/x86.c:59:1: iwyu: warning: superfluous #include <linux/mem_encrypt.h>
arch/x86/kvm/x86.c:52:1: iwyu: warning: superfluous #include <linux/pci.h>
>> arch/x86/kvm/x86.c:61:1: iwyu: warning: superfluous #include <linux/suspend.h>
arch/x86/kvm/x86.c:83:1: iwyu: warning: superfluous #include "trace.h"
arch/x86/kvm/x86.c:24:1: iwyu: warning: superfluous #include "tss.h"
vim +61 arch/x86/kvm/x86.c
313a3dc75da206 drivers/kvm/x86.c Carsten Otte 2007-10-11 33
18068523d3a0b4 arch/x86/kvm/x86.c Glauber de Oliveira Costa 2008-02-15 34 #include <linux/clocksource.h>
4d5c5d0fe89c92 arch/x86/kvm/x86.c Ben-Ami Yassour 2008-07-28 35 #include <linux/interrupt.h>
313a3dc75da206 drivers/kvm/x86.c Carsten Otte 2007-10-11 36 #include <linux/kvm.h>
313a3dc75da206 drivers/kvm/x86.c Carsten Otte 2007-10-11 37 #include <linux/fs.h>
313a3dc75da206 drivers/kvm/x86.c Carsten Otte 2007-10-11 38 #include <linux/vmalloc.h>
1767e931e3c302 arch/x86/kvm/x86.c Paul Gortmaker 2016-07-13 39 #include <linux/export.h>
1767e931e3c302 arch/x86/kvm/x86.c Paul Gortmaker 2016-07-13 40 #include <linux/moduleparam.h>
0de10343b3ca7a drivers/kvm/x86.c Zhang Xiantao 2007-11-20 41 #include <linux/mman.h>
2bacc55c7c3c61 drivers/kvm/x86.c Marcelo Tosatti 2007-12-12 42 #include <linux/highmem.h>
19de40a8472fa6 arch/x86/kvm/x86.c Joerg Roedel 2008-12-03 43 #include <linux/iommu.h>
62c476c7c7f25a arch/x86/kvm/x86.c Ben-Ami Yassour 2008-09-14 44 #include <linux/intel-iommu.h>
c807660407a695 arch/x86/kvm/x86.c Gerd Hoffmann 2009-02-04 45 #include <linux/cpufreq.h>
18863bdd60f895 arch/x86/kvm/x86.c Avi Kivity 2009-09-07 46 #include <linux/user-return-notifier.h>
a983fb238728e1 arch/x86/kvm/x86.c Marcelo Tosatti 2009-12-23 47 #include <linux/srcu.h>
5a0e3ad6af8660 arch/x86/kvm/x86.c Tejun Heo 2010-03-24 48 #include <linux/slab.h>
ff9d07a0e7ce75 arch/x86/kvm/x86.c Zhang, Yanmin 2010-04-19 49 #include <linux/perf_event.h>
7bee342a9e994c arch/x86/kvm/x86.c Lai Jiangshan 2010-06-02 50 #include <linux/uaccess.h>
af585b921e5d1e arch/x86/kvm/x86.c Gleb Natapov 2010-10-14 51 #include <linux/hash.h>
a1b60c1cd913c5 arch/x86/kvm/x86.c Joerg Roedel 2011-09-06 52 #include <linux/pci.h>
16e8d74d2da992 arch/x86/kvm/x86.c Marcelo Tosatti 2012-11-27 53 #include <linux/timekeeper_internal.h>
16e8d74d2da992 arch/x86/kvm/x86.c Marcelo Tosatti 2012-11-27 54 #include <linux/pvclock_gtod.h>
87276880065246 arch/x86/kvm/x86.c Feng Wu 2015-09-18 55 #include <linux/kvm_irqfd.h>
87276880065246 arch/x86/kvm/x86.c Feng Wu 2015-09-18 56 #include <linux/irqbypass.h>
3905f9ad455e0f arch/x86/kvm/x86.c Ingo Molnar 2017-02-05 57 #include <linux/sched/stat.h>
0c5f81dad46c90 arch/x86/kvm/x86.c Wanpeng Li 2019-07-06 58 #include <linux/sched/isolation.h>
d0ec49d4de9080 arch/x86/kvm/x86.c Tom Lendacky 2017-07-17 59 #include <linux/mem_encrypt.h>
72c3c0fe54a3f3 arch/x86/kvm/x86.c Thomas Gleixner 2020-07-23 60 #include <linux/entry-kvm.h>
7d62874f69d7e5 arch/x86/kvm/x86.c Sergey Senozhatsky 2021-06-06 @61 #include <linux/suspend.h>
3905f9ad455e0f arch/x86/kvm/x86.c Ingo Molnar 2017-02-05 62
aec51dc4f15840 arch/x86/kvm/x86.c Avi Kivity 2009-07-01 63 #include <trace/events/kvm.h>
2ed152afc7ed61 arch/x86/kvm/x86.c Xiao Guangrong 2010-03-10 64
24f1e32c60c45c arch/x86/kvm/x86.c Frederic Weisbecker 2009-09-09 65 #include <asm/debugreg.h>
d825ed0a97b8e8 drivers/kvm/x86.c Zhang Xiantao 2007-11-14 66 #include <asm/msr.h>
a5f61300c489e3 arch/x86/kvm/x86.c Avi Kivity 2008-02-20 67 #include <asm/desc.h>
890ca9aefa78f7 arch/x86/kvm/x86.c Huang Ying 2009-05-11 68 #include <asm/mce.h>
f89e32e0a3df2f arch/x86/kvm/x86.c Ingo Molnar 2015-04-22 69 #include <linux/kernel_stat.h>
78f7f1e54bac03 arch/x86/kvm/x86.c Ingo Molnar 2015-04-24 70 #include <asm/fpu/internal.h> /* Ugh! */
1d5f066e0b6327 arch/x86/kvm/x86.c Zachary Amsden 2010-08-19 71 #include <asm/pvclock.h>
217fc9cfca21a0 arch/x86/kvm/x86.c Avi Kivity 2010-08-26 72 #include <asm/div64.h>
efc644048ecde5 arch/x86/kvm/x86.c Feng Wu 2015-09-18 73 #include <asm/irq_remapping.h>
b0c39dc68e3b3d arch/x86/kvm/x86.c Vitaly Kuznetsov 2018-01-24 74 #include <asm/mshyperv.h>
0092e4346f4955 arch/x86/kvm/x86.c Vitaly Kuznetsov 2018-01-24 75 #include <asm/hypervisor.h>
9715092f8d7eaa arch/x86/kvm/x86.c Babu Moger 2020-09-11 76 #include <asm/tlbflush.h>
bf8c55d8dc094c arch/x86/kvm/x86.c Chao Peng 2018-10-24 77 #include <asm/intel_pt.h>
b3dc0695fa40c3 arch/x86/kvm/x86.c Masami Hiramatsu 2019-09-06 78 #include <asm/emulate_prefix.h>
fe7e948837f312 arch/x86/kvm/x86.c Sean Christopherson 2021-04-12 @79 #include <asm/sgx.h>
dd2cb348613b44 arch/x86/kvm/x86.c Michael Kelley 2019-07-01 80 #include <clocksource/hyperv_timer.h>
043405e10001fe drivers/kvm/x86.c Carsten Otte 2007-10-10 81
---
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: 37375 bytes --]
next reply other threads:[~2021-07-20 8:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-20 8:16 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-07-25 17:41 arch/x86/kvm/x86.c:61:1: iwyu: warning: superfluous #include <linux/suspend.h> kernel test robot
2021-07-28 11:13 kernel test robot
2021-07-29 3:58 kernel test robot
2021-07-29 19:51 kernel test robot
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=202107201622.lYOOB25c-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.