All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: [shenki:dev-5.10 70/244] drivers/char/mem.c:13:1: iwyu: warning: superfluous #include <linux/moduleparam.h>
Date: Mon, 07 Jun 2021 19:49:33 +0800	[thread overview]
Message-ID: <202106071908.kSPhbSuh-lkp@intel.com> (raw)

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

                 reply	other threads:[~2021-06-07 11:49 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=202106071908.kSPhbSuh-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.