[linux-next:master 8488/11253] drivers/net/phy/phylink.c:8:1: iwyu: warning: superfluous #include <linux/acpi.h>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   e71e3a48a7e89fa71fb70bf4602367528864d2ff
commit: 25396f680dd6257096c5dc6ceb90ce57caba8de1 [8488/11253] net: phylink: introduce phylink_fwnode_phy_connect()
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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=25396f680dd6257096c5dc6ceb90ce57caba8de1
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 25396f680dd6257096c5dc6ceb90ce57caba8de1
        # 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/net/phy/phylink.c:8:1: iwyu: warning: superfluous #include <linux/acpi.h>
   drivers/net/phy/phylink.c:19:1: iwyu: warning: superfluous #include <linux/spinlock.h>
   drivers/net/phy/phylink.c:23:1: iwyu: warning: superfluous #include "sfp.h"

vim +8 drivers/net/phy/phylink.c

25396f680dd625 Calvin Johnson 2021-06-11  @8  #include <linux/acpi.h>
9525ae83959b60 Russell King   2017-07-25   9  #include <linux/ethtool.h>
9525ae83959b60 Russell King   2017-07-25  10  #include <linux/export.h>
9525ae83959b60 Russell King   2017-07-25  11  #include <linux/gpio/consumer.h>
9525ae83959b60 Russell King   2017-07-25  12  #include <linux/netdevice.h>
9525ae83959b60 Russell King   2017-07-25  13  #include <linux/of.h>
9525ae83959b60 Russell King   2017-07-25  14  #include <linux/of_mdio.h>
9525ae83959b60 Russell King   2017-07-25  15  #include <linux/phy.h>
9525ae83959b60 Russell King   2017-07-25  16  #include <linux/phy_fixed.h>
9525ae83959b60 Russell King   2017-07-25  17  #include <linux/phylink.h>
9525ae83959b60 Russell King   2017-07-25  18  #include <linux/rtnetlink.h>
9525ae83959b60 Russell King   2017-07-25  19  #include <linux/spinlock.h>
9cd00a8aa42e44 Russell King   2018-05-10  20  #include <linux/timer.h>
9525ae83959b60 Russell King   2017-07-25  21  #include <linux/workqueue.h>
9525ae83959b60 Russell King   2017-07-25  22  

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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux