* [intel-linux-intel-lts:4.19/android_r 19120/23449] drivers/platform/x86/socperf/socperfdrv.c:70:1: iwyu: warning: superfluous #include <linux/compat.h>
@ 2021-06-05 4:24 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-05 4:24 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 6421 bytes --]
CC: kbuild-all(a)lists.01.org
CC: "Pan, Kris" <kris.pan@intel.com>
tree: https://github.com/intel/linux-intel-lts.git 4.19/android_r
head: d12f442b46a8bc16c4f3f7644a56fdf4133149c3
commit: b652a52d36a85d1b731921ba08e701d7150ce200 [19120/23449] Merge branch 'aosp/android-4.19-stable' into android_r
:::::: branch date: 3 days ago
:::::: commit date: 9 months ago
config: x86_64-randconfig-b001-20210604 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 5c0d1b2f902aa6a9cf47cc7e42c5b83bb2217cf9)
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://github.com/intel/linux-intel-lts/commit/b652a52d36a85d1b731921ba08e701d7150ce200
git remote add intel-linux-intel-lts https://github.com/intel/linux-intel-lts.git
git fetch --no-tags intel-linux-intel-lts 4.19/android_r
git checkout b652a52d36a85d1b731921ba08e701d7150ce200
# 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 >>)
drivers/platform/x86/socperf/socperfdrv.c:62:1: iwyu: warning: superfluous #include <asm/page.h>
drivers/platform/x86/socperf/socperfdrv.c:69:1: iwyu: warning: superfluous #include <asm/unistd.h>
>> drivers/platform/x86/socperf/socperfdrv.c:70:1: iwyu: warning: superfluous #include <linux/compat.h>
drivers/platform/x86/socperf/socperfdrv.c:60:1: iwyu: warning: superfluous #include <linux/errno.h>
drivers/platform/x86/socperf/socperfdrv.c:65:1: iwyu: warning: superfluous #include <linux/fcntl.h>
drivers/platform/x86/socperf/socperfdrv.c:56:1: iwyu: warning: superfluous #include <linux/init.h>
drivers/platform/x86/socperf/socperfdrv.c:64:1: iwyu: warning: superfluous #include <linux/proc_fs.h>
drivers/platform/x86/socperf/socperfdrv.c:67:1: iwyu: warning: superfluous #include <linux/sched.h>
drivers/platform/x86/socperf/socperfdrv.c:58:1: iwyu: warning: superfluous #include <linux/slab.h>
drivers/platform/x86/socperf/socperfdrv.c:68:1: iwyu: warning: superfluous #include <linux/syscalls.h>
drivers/platform/x86/socperf/socperfdrv.c:54:1: iwyu: warning: superfluous #include <linux/version.h>
drivers/platform/x86/socperf/socperfdrv.c:78:1: iwyu: warning: superfluous #include "inc/ecb_iterators.h"
--
drivers/platform/x86/sepdk/sep/lwpmudrv.c:55:1: iwyu: warning: superfluous #include <asm/hypervisor.h>
drivers/platform/x86/sepdk/sep/lwpmudrv.c:37:1: iwyu: warning: superfluous #include <asm/page.h>
drivers/platform/x86/sepdk/sep/lwpmudrv.c:49:1: iwyu: warning: superfluous #include <asm/unistd.h>
>> drivers/platform/x86/sepdk/sep/lwpmudrv.c:50:1: iwyu: warning: superfluous #include <linux/compat.h>
drivers/platform/x86/sepdk/sep/lwpmudrv.c:35:1: iwyu: warning: superfluous #include <linux/errno.h>
drivers/platform/x86/sepdk/sep/lwpmudrv.c:40:1: iwyu: warning: superfluous #include <linux/fcntl.h>
drivers/platform/x86/sepdk/sep/lwpmudrv.c:31:1: iwyu: warning: superfluous #include <linux/init.h>
drivers/platform/x86/sepdk/sep/lwpmudrv.c:39:1: iwyu: warning: superfluous #include <linux/proc_fs.h>
drivers/platform/x86/sepdk/sep/lwpmudrv.c:42:1: iwyu: warning: superfluous #include <linux/ptrace.h>
>> drivers/platform/x86/sepdk/sep/lwpmudrv.c:33:1: iwyu: warning: superfluous #include <linux/slab.h>
drivers/platform/x86/sepdk/sep/lwpmudrv.c:48:1: iwyu: warning: superfluous #include <linux/syscalls.h>
drivers/platform/x86/sepdk/sep/lwpmudrv.c:51:1: iwyu: warning: superfluous #include <linux/vmalloc.h>
drivers/platform/x86/sepdk/sep/lwpmudrv.c:84:1: iwyu: warning: superfluous #include "apic.h"
drivers/platform/x86/sepdk/sep/lwpmudrv.c:89:1: iwyu: warning: superfluous #include "core2.h"
drivers/platform/x86/sepdk/sep/lwpmudrv.c:72:1: iwyu: warning: superfluous #include "inc/ecb_iterators.h"
drivers/platform/x86/sepdk/sep/lwpmudrv.c:82:1: iwyu: warning: superfluous #include "pci.h"
drivers/platform/x86/sepdk/sep/lwpmudrv.c:90:1: iwyu: warning: superfluous #include "pmi.h"
vim +70 drivers/platform/x86/socperf/socperfdrv.c
150e99d9720a36 Manisha Chinthapally 2019-06-05 53
150e99d9720a36 Manisha Chinthapally 2019-06-05 54 #include <linux/version.h>
150e99d9720a36 Manisha Chinthapally 2019-06-05 55 #include <linux/module.h>
150e99d9720a36 Manisha Chinthapally 2019-06-05 56 #include <linux/init.h>
150e99d9720a36 Manisha Chinthapally 2019-06-05 57 #include <linux/kernel.h>
150e99d9720a36 Manisha Chinthapally 2019-06-05 58 #include <linux/slab.h>
150e99d9720a36 Manisha Chinthapally 2019-06-05 59 #include <linux/fs.h>
150e99d9720a36 Manisha Chinthapally 2019-06-05 60 #include <linux/errno.h>
150e99d9720a36 Manisha Chinthapally 2019-06-05 61 #include <linux/types.h>
150e99d9720a36 Manisha Chinthapally 2019-06-05 @62 #include <asm/page.h>
150e99d9720a36 Manisha Chinthapally 2019-06-05 63 #include <linux/cdev.h>
150e99d9720a36 Manisha Chinthapally 2019-06-05 64 #include <linux/proc_fs.h>
150e99d9720a36 Manisha Chinthapally 2019-06-05 65 #include <linux/fcntl.h>
150e99d9720a36 Manisha Chinthapally 2019-06-05 66 #include <linux/device.h>
150e99d9720a36 Manisha Chinthapally 2019-06-05 67 #include <linux/sched.h>
150e99d9720a36 Manisha Chinthapally 2019-06-05 68 #include <linux/syscalls.h>
150e99d9720a36 Manisha Chinthapally 2019-06-05 69 #include <asm/unistd.h>
150e99d9720a36 Manisha Chinthapally 2019-06-05 @70 #include <linux/compat.h>
150e99d9720a36 Manisha Chinthapally 2019-06-05 71
:::::: The code at line 70 was first introduced by commit
:::::: 150e99d9720a367930be97b56bf8895c6050df2d platform/x86: SOCPERF3 support for sep & socwatch
:::::: TO: Manisha Chinthapally <manisha.chinthapally@intel.com>
:::::: CC: Pan, Kris <kris.pan@intel.com>
---
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: 27395 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-05 4:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-05 4:24 [intel-linux-intel-lts:4.19/android_r 19120/23449] drivers/platform/x86/socperf/socperfdrv.c:70:1: iwyu: warning: superfluous #include <linux/compat.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.