Re: [PATCH v2 1/2] iio: proximity: vcnl3020: add periodic mode

From: kernel test robot
Date: Wed Jun 23 2021 - 04:48:39 EST


Hi Ivan,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on iio/togreg]
[also build test WARNING on v5.13-rc7 next-20210621]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url: https://github.com/0day-ci/linux/commits/Ivan-Mikhaylov/add-periodic-mode-threshold-options/20210621-222331
base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
config: x86_64-randconfig-b001-20210621 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project e1adf90826a57b674eee79b071fb46c1f5683cd0)
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/0day-ci/linux/commit/06c36ea9525abdc7882a330375c877709fe7ee2d
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Ivan-Mikhaylov/add-periodic-mode-threshold-options/20210621-222331
git checkout 06c36ea9525abdc7882a330375c877709fe7ee2d
# 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@xxxxxxxxx>


iwyu warnings: (new ones prefixed by >>)
drivers/iio/proximity/vcnl3020.c:11:1: iwyu: warning: superfluous #include <linux/delay.h>
>> drivers/iio/proximity/vcnl3020.c:16:1: iwyu: warning: superfluous #include <linux/iio/iio.h>

vim +16 drivers/iio/proximity/vcnl3020.c

ac101e6b315bfe Ivan Mikhaylov 2020-05-10 14
ac101e6b315bfe Ivan Mikhaylov 2020-05-10 15 #include <linux/iio/iio.h>
06c36ea9525abd Ivan Mikhaylov 2021-06-21 @16 #include <linux/iio/iio.h>
06c36ea9525abd Ivan Mikhaylov 2021-06-21 17 #include <linux/iio/events.h>
ac101e6b315bfe Ivan Mikhaylov 2020-05-10 18

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- kbuild@xxxxxxxxxxxx
To unsubscribe send an email to kbuild-leave@xxxxxxxxxxxx