Skip to contentSkip to conversation

drivers/clk/clk-lmk04832.c:15:1: iwyu: warning: superfluous #include <linux/debugfs.h>

DISCUSSION kernel test robot 1 participant 1 message Jul 10, 2021

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Liam Beguin <[email protected]>
CC: Stephen Boyd <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   1e16624d7b4376797ede36e3c955375cf0f23298
commit: 3bc61cfd6f4a57de32132075b15b0ac8987ced1d clk: add support for the lmk04832
date:   13 days ago

:::::: branch date: 3 hours ago
:::::: commit date: 13 days ago
config: x86_64-randconfig-b001-20210706 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 3f9bf9f42a9043e20c6d2a74dd4f47a90a7e2b41) 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/torvalds/linux.git/commit/?id=3bc61cfd6f4a57de32132075b15b0ac8987ced1d
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 3bc61cfd6f4a57de32132075b15b0ac8987ced1d
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross C=1 CHECK=iwyu O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/clk/

If you fix the issue, kindly add following tag as appropriate

iwyu warnings: (new ones prefixed by >>)

>> drivers/clk/clk-lmk04832.c:15:1: iwyu: warning: superfluous #include <linux/debugfs.h>
>> drivers/clk/clk-lmk04832.c:20:1: iwyu: warning: superfluous #include <linux/uaccess.h>

vim +15 drivers/clk/clk-lmk04832.c

3bc61cfd6f4a57 Liam Beguin 2021-04-22 @15  #include <linux/debugfs.h>
3bc61cfd6f4a57 Liam Beguin 2021-04-22  16  #include <linux/device.h>
3bc61cfd6f4a57 Liam Beguin 2021-04-22  17  #include <linux/gcd.h>
3bc61cfd6f4a57 Liam Beguin 2021-04-22  18  #include <linux/gpio/consumer.h>
3bc61cfd6f4a57 Liam Beguin 2021-04-22  19  #include <linux/module.h>
3bc61cfd6f4a57 Liam Beguin 2021-04-22 @20  #include <linux/uaccess.h>
3bc61cfd6f4a57 Liam Beguin 2021-04-22  21  #include <linux/regmap.h>
3bc61cfd6f4a57 Liam Beguin 2021-04-22  22  #include <linux/spi/spi.h>

3bc61cfd6f4a57 Liam Beguin 2021-04-22 23

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