linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <rong.a.chen@intel.com>
To: Calvin Johnson <calvin.johnson@oss.nxp.com>
Cc: kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>,
	Ioana Ciornei <ioana.ciornei@nxp.com>,
	"Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>
Subject: [linux-next:master 8488/11253] drivers/net/phy/phylink.c:8:1: iwyu: warning: superfluous #include <linux/acpi.h>
Date: Mon, 21 Jun 2021 17:37:28 +0800	[thread overview]
Message-ID: <20210621093728.GB237458@shao2-debian> (raw)

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

                 reply	other threads:[~2021-06-21  9:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20210621093728.GB237458@shao2-debian \
    --to=rong.a.chen@intel.com \
    --cc=calvin.johnson@oss.nxp.com \
    --cc=ioana.ciornei@nxp.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=rmk+kernel@armlinux.org.uk \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox