All of lore.kernel.org
 help / color / mirror / Atom feed
* [shenki:dev-5.10 70/244] drivers/char/mem.c:13:1: iwyu: warning: superfluous #include <linux/moduleparam.h>
@ 2021-06-07 11:49 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-07 11:49 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
TO: Joel Stanley <joel@jms.id.au>

tree:   https://github.com/shenki/linux dev-5.10
head:   3c3108bacd630a8c13271095e43072cb2a90c036
commit: 8a372dfdd6dc72fd1a645f8b26793a0621311783 [70/244] /dev/mem: add a devmem kernel parameter to activate the device
:::::: branch date: 9 hours ago
:::::: commit date: 4 months ago
config: x86_64-randconfig-b001-20210607 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project ae973380c5f6be77ce395022be40350942260be9)
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/shenki/linux/commit/8a372dfdd6dc72fd1a645f8b26793a0621311783
        git remote add shenki https://github.com/shenki/linux
        git fetch --no-tags shenki dev-5.10
        git checkout 8a372dfdd6dc72fd1a645f8b26793a0621311783
        # 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/char/mem.c:26:1: iwyu: warning: superfluous #include <linux/backing-dev.h>
   drivers/char/mem.c:25:1: iwyu: warning: superfluous #include <linux/highmem.h>
   drivers/char/mem.c:14:1: iwyu: warning: superfluous #include <linux/miscdevice.h>
>> drivers/char/mem.c:13:1: iwyu: warning: superfluous #include <linux/moduleparam.h>
   drivers/char/mem.c:29:1: iwyu: warning: superfluous #include <linux/pfn.h>
   drivers/char/mem.c:20:1: iwyu: warning: superfluous #include <linux/raw.h>

vim +13 drivers/char/mem.c

8a372dfdd6dc72 Cédric Le Goater  2018-10-12 @13  #include <linux/moduleparam.h>
^1da177e4c3f41 Linus Torvalds    2005-04-16  14  #include <linux/miscdevice.h>
^1da177e4c3f41 Linus Torvalds    2005-04-16  15  #include <linux/slab.h>
^1da177e4c3f41 Linus Torvalds    2005-04-16  16  #include <linux/vmalloc.h>
^1da177e4c3f41 Linus Torvalds    2005-04-16  17  #include <linux/mman.h>
^1da177e4c3f41 Linus Torvalds    2005-04-16  18  #include <linux/random.h>
^1da177e4c3f41 Linus Torvalds    2005-04-16  19  #include <linux/init.h>
^1da177e4c3f41 Linus Torvalds    2005-04-16  20  #include <linux/raw.h>
^1da177e4c3f41 Linus Torvalds    2005-04-16  21  #include <linux/tty.h>
^1da177e4c3f41 Linus Torvalds    2005-04-16  22  #include <linux/capability.h>
^1da177e4c3f41 Linus Torvalds    2005-04-16  23  #include <linux/ptrace.h>
^1da177e4c3f41 Linus Torvalds    2005-04-16  24  #include <linux/device.h>
50b1fdbd81edcc Vivek Goyal       2005-06-25  25  #include <linux/highmem.h>
^1da177e4c3f41 Linus Torvalds    2005-04-16 @26  #include <linux/backing-dev.h>
c01d5b300774d1 Hugh Dickins      2016-07-26  27  #include <linux/shmem_fs.h>
d6b29d7cee064f Jens Axboe        2007-06-04  28  #include <linux/splice.h>
b8a3ad5b539187 Linus Torvalds    2006-10-13  29  #include <linux/pfn.h>
66300e66c680f7 Paul Gortmaker    2011-07-10  30  #include <linux/export.h>
e1612de9e4cdf3 Haren Myneni      2012-07-11  31  #include <linux/io.h>
e2e40f2c1ed433 Christoph Hellwig 2015-02-22  32  #include <linux/uio.h>
35b6c7e4a536f9 Rob Ward          2014-12-20  33  #include <linux/uaccess.h>
9b9d8dda1ed72e Matthew Garrett   2019-08-19  34  #include <linux/security.h>
3234ac664a870e Dan Williams      2020-05-21  35  #include <linux/pseudo_fs.h>
3234ac664a870e Dan Williams      2020-05-21  36  #include <uapi/linux/magic.h>
3234ac664a870e Dan Williams      2020-05-21  37  #include <linux/mount.h>
^1da177e4c3f41 Linus Torvalds    2005-04-16  38  

---
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: 31541 bytes --]

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

only message in thread, other threads:[~2021-06-07 11:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-07 11:49 [shenki:dev-5.10 70/244] drivers/char/mem.c:13:1: iwyu: warning: superfluous #include <linux/moduleparam.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.