From: kernel test robot <lkp@intel.com>
To: Vikas Singh <vikas.singh@puresoftware.com>,
andrew@lunn.ch, f.fainelli@gmail.com, hkallweit1@gmail.com,
linux@armlinux.org.uk, netdev@vger.kernel.org
Cc: kbuild-all@lists.01.org, calvin.johnson@oss.nxp.com,
kuldip.dwivedi@puresoftware.com, madalin.bucur@oss.nxp.com,
vikas.singh@nxp.com, Vikas Singh <vikas.singh@puresoftware.com>
Subject: Re: [PATCH 1/2] net: phy: Add fwnode helper functions
Date: Sat, 1 Aug 2020 16:10:31 +0800 [thread overview]
Message-ID: <202008011625.PhuVrV6D%lkp@intel.com> (raw)
In-Reply-To: <1595938400-13279-2-git-send-email-vikas.singh@puresoftware.com>
[-- Attachment #1: Type: text/plain, Size: 2806 bytes --]
Hi Vikas,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v5.8-rc7 next-20200731]
[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/Vikas-Singh/Add-fwnode-helper-functions-to-MDIO-bus-driver/20200728-201610
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 92ed301919932f777713b9172e525674157e983d
config: h8300-randconfig-s031-20200731 (attached as .config)
compiler: h8300-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.2-115-g5fc204f2-dirty
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=h8300
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
h8300-linux-ld: drivers/net/phy/mdio_bus.o: in function `fwnode_phy_connect':
>> drivers/net/phy/mdio_bus.c:102: undefined reference to `phy_connect_direct'
vim +102 drivers/net/phy/mdio_bus.c
76
77 /**
78 * fwnode_phy_connect - Connect to the phy described in the device tree
79 * @dev: pointer to net_device claiming the phy
80 * @phy_fwnode: Pointer to fwnode for the PHY
81 * @hndlr: Link state callback for the network device
82 * @flags: flags to pass to the PHY
83 * @iface: PHY data interface type
84 *
85 * If successful, returns a pointer to the phy_device with the embedded
86 * struct device refcount incremented by one, or NULL on failure. The
87 * refcount must be dropped by calling phy_disconnect() or phy_detach().
88 */
89 struct phy_device *fwnode_phy_connect(
90 struct net_device *dev, struct fwnode_handle *phy_fwnode,
91 void (*hndlr)(struct net_device *), u32 flags, u32 iface)
92 {
93 struct phy_device *phy_dev;
94
95 phy_dev = fwnode_phy_find_device(phy_fwnode);
96 if (!phy_dev)
97 return NULL;
98
99 phy_dev->dev_flags = flags;
100
101 /* If in case we fail to attach to PHY,then phy_dev must be NULL */
> 102 if (phy_connect_direct(dev, phy_dev, hndlr, iface))
103 return NULL;
104
105 return phy_dev;
106 }
107 EXPORT_SYMBOL(fwnode_phy_connect);
108
---
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: 25209 bytes --]
next prev parent reply other threads:[~2020-08-01 8:20 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-28 12:13 [PATCH 0/2] Add fwnode helper functions to MDIO bus driver Vikas Singh
2020-07-28 12:13 ` [PATCH 1/2] net: phy: Add fwnode helper functions Vikas Singh
2020-08-01 8:10 ` kernel test robot [this message]
2020-07-28 12:13 ` [PATCH 2/2] net: phy: Associate device node with fixed PHY Vikas Singh
2020-07-28 13:00 ` Andrew Lunn
[not found] ` <CADvVLtXVVfU3-U8DYPtDnvGoEK2TOXhpuE=1vz6nnXaFBA8pNA@mail.gmail.com>
2020-07-31 15:31 ` Andrew Lunn
[not found] ` <CADvVLtUrZDGqwEPO_ApCWK1dELkUEjrH47s1CbYEYOH9XgZMRg@mail.gmail.com>
2020-08-01 9:41 ` Russell King - ARM Linux admin
2020-08-01 15:11 ` Andrew Lunn
2020-08-03 8:33 ` Madalin Bucur (OSS)
2020-08-03 9:07 ` Russell King - ARM Linux admin
2020-08-03 11:45 ` Madalin Bucur (OSS)
2020-08-03 12:57 ` Andrew Lunn
2020-08-03 14:33 ` Madalin Bucur (OSS)
2020-08-03 15:00 ` Andrew Lunn
2020-08-03 16:59 ` Russell King - ARM Linux admin
2020-08-03 14:10 ` Russell King - ARM Linux admin
2020-08-03 14:47 ` Madalin Bucur (OSS)
2020-08-03 16:53 ` Russell King - ARM Linux admin
2020-08-04 5:36 ` Madalin Bucur (OSS)
-- strict thread matches above, loose matches on Subject: below --
2020-07-22 11:32 [PATCH 0/2] Add fwnode helper functions to MDIO bus driver Vikas Singh
2020-07-22 11:32 ` [PATCH 1/2] net: phy: Add fwnode helper functions Vikas Singh
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=202008011625.PhuVrV6D%lkp@intel.com \
--to=lkp@intel.com \
--cc=andrew@lunn.ch \
--cc=calvin.johnson@oss.nxp.com \
--cc=f.fainelli@gmail.com \
--cc=hkallweit1@gmail.com \
--cc=kbuild-all@lists.01.org \
--cc=kuldip.dwivedi@puresoftware.com \
--cc=linux@armlinux.org.uk \
--cc=madalin.bucur@oss.nxp.com \
--cc=netdev@vger.kernel.org \
--cc=vikas.singh@nxp.com \
--cc=vikas.singh@puresoftware.com \
/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;
as well as URLs for NNTP newsgroup(s).