linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 8488/11253] drivers/net/phy/phylink.c:8:1: iwyu: warning: superfluous #include <linux/acpi.h>
@ 2021-06-21  9:37 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-21  9:37 UTC (permalink / raw)
  To: Calvin Johnson
  Cc: kbuild-all, Linux Memory Management List, Ioana Ciornei,
	Russell King (Oracle)

[-- Attachment #1: Type: text/plain, Size: 2877 bytes --]

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@intel.com>


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@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 53719 bytes --]

[-- Attachment #3: Type: text/plain, Size: 149 bytes --]

_______________________________________________
kbuild mailing list -- kbuild@lists.01.org
To unsubscribe send an email to kbuild-leave@lists.01.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-21  9:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-21  9:37 [linux-next:master 8488/11253] drivers/net/phy/phylink.c:8:1: iwyu: warning: superfluous #include <linux/acpi.h> kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).