Re: [PATCH] [net] phy: micrel: Fix build failure in ksz9031_config_init()
From: kbuild test robot <hidden>
Date: 2016-01-10 11:51:49
Attachments
- .config.gz [application/octet-stream] 35587 bytes
From: kbuild test robot <hidden>
Date: 2016-01-10 11:51:49
Hi Sedat, [auto build test ERROR on net/master] [cannot apply to net-next/master v4.4-rc8 next-20160108] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Sedat-Dilek/phy-micrel-Fix-build-failure-in-ksz9031_config_init/20160109-200009 config: x86_64-rhel (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers/net/phy/micrel.c: In function 'ksz9031_config_init':
quoted
drivers/net/phy/micrel.c:479:22: error: 'struct phy_device' has no member named 'mdio'
dev_walker = &phydev->mdio.dev;
^
vim +479 drivers/net/phy/micrel.c
473 const struct device *dev_walker;
474
475 /* The Micrel driver has a deprecated option to place phy OF
476 * properties in the MAC node. Walk up the tree of devices to
477 * find a device with an OF node.
478 */
> 479 dev_walker = &phydev->mdio.dev;
480 do {
481 of_node = dev_walker->of_node;
482 dev_walker = dev_walker->parent;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation