From: kernel test robot <rong.a.chen@intel.com>
To: kbuild-all@lists.01.org
Subject: [iio:togreg 150/168] drivers/iio/gyro/adis16260.c:9:1: iwyu: warning: superfluous #include <linux/mutex.h>
Date: Wed, 26 May 2021 15:33:50 +0800 [thread overview]
Message-ID: <20210526073349.GP2687475@shao2-debian> (raw)
[-- Attachment #1: Type: text/plain, Size: 3812 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
head: 301f7eba67df8868cb22b0ba2af0fc0cdfe70d8a
commit: 8f8a0d9a9a5b767c7ad79ceb354b1d4bb6eb708b [150/168] iio: adis16260: make use of adis lock helpers
config: x86_64-randconfig-b001-20210526 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 99155e913e9bad5f7f8a247f8bb3a3ff3da74af1)
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/jic23/iio.git/commit/?id=8f8a0d9a9a5b767c7ad79ceb354b1d4bb6eb708b
git remote add iio https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git
git fetch --no-tags iio togreg
git checkout 8f8a0d9a9a5b767c7ad79ceb354b1d4bb6eb708b
# 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/iio/gyro/adis16260.c:18:1: iwyu: warning: superfluous #include <linux/iio/buffer.h>
drivers/iio/gyro/adis16260.c:17:1: iwyu: warning: superfluous #include <linux/iio/sysfs.h>
drivers/iio/gyro/adis16260.c:8:1: iwyu: warning: superfluous #include <linux/interrupt.h>
>> drivers/iio/gyro/adis16260.c:9:1: iwyu: warning: superfluous #include <linux/mutex.h>
drivers/iio/gyro/adis16260.c:13:1: iwyu: warning: superfluous #include <linux/sysfs.h>
vim +9 drivers/iio/gyro/adis16260.c
089a41985c6c7e drivers/staging/iio/gyro/adis16260_core.c Barry Song 2010-05-12 @9 #include <linux/mutex.h>
089a41985c6c7e drivers/staging/iio/gyro/adis16260_core.c Barry Song 2010-05-12 10 #include <linux/device.h>
089a41985c6c7e drivers/staging/iio/gyro/adis16260_core.c Barry Song 2010-05-12 11 #include <linux/kernel.h>
089a41985c6c7e drivers/staging/iio/gyro/adis16260_core.c Barry Song 2010-05-12 12 #include <linux/spi/spi.h>
089a41985c6c7e drivers/staging/iio/gyro/adis16260_core.c Barry Song 2010-05-12 13 #include <linux/sysfs.h>
99c978529a4013 drivers/staging/iio/gyro/adis16260_core.c Paul Gortmaker 2011-07-03 14 #include <linux/module.h>
089a41985c6c7e drivers/staging/iio/gyro/adis16260_core.c Barry Song 2010-05-12 15
06458e277eac2b drivers/staging/iio/gyro/adis16260_core.c Jonathan Cameron 2012-04-25 16 #include <linux/iio/iio.h>
06458e277eac2b drivers/staging/iio/gyro/adis16260_core.c Jonathan Cameron 2012-04-25 17 #include <linux/iio/sysfs.h>
06458e277eac2b drivers/staging/iio/gyro/adis16260_core.c Jonathan Cameron 2012-04-25 @18 #include <linux/iio/buffer.h>
988c79a95e30da drivers/staging/iio/gyro/adis16260_core.c Lars-Peter Clausen 2013-07-17 19 #include <linux/iio/imu/adis.h>
089a41985c6c7e drivers/staging/iio/gyro/adis16260_core.c Barry Song 2010-05-12 20
:::::: The code at line 9 was first introduced by commit
:::::: 089a41985c6c7e69c8fe043c0dd397da628254f5 staging: iio: adis16260 digital gyro driver
:::::: TO: Barry Song <Barry.Song@analog.com>
:::::: CC: Greg Kroah-Hartman <gregkh@suse.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
_______________________________________________
kbuild mailing list -- kbuild(a)lists.01.org
To unsubscribe send an email to kbuild-leave(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34733 bytes --]
next reply other threads:[~2021-05-26 7:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-26 7:33 kernel test robot [this message]
2021-05-26 14:06 ` [iio:togreg 150/168] drivers/iio/gyro/adis16260.c:9:1: iwyu: warning: superfluous #include <linux/mutex.h> Jonathan Cameron
2021-05-27 0:29 ` Rong Chen
-- strict thread matches above, loose matches on Subject: below --
2021-05-26 4:16 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=20210526073349.GP2687475@shao2-debian \
--to=rong.a.chen@intel.com \
--cc=kbuild-all@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.