Thread (16 messages) flat view 16 messages, 6 authors, 2017-01-09

Re: [PATCH] phy state machine: failsafe leave invalid RUNNING state

From: kbuild test robot <hidden>
Date: 2017-01-04 20:08:31

Hi Zefir,

[auto build test ERROR on net-next/master]
[also build test ERROR on v4.10-rc2 next-20170104]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Zefir-Kurtisi/phy-state-machine-failsafe-leave-invalid-RUNNING-state/20170105-033018
config: x86_64-kexec (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/net/phy/phy.c: In function 'phy_state_machine':
quoted
drivers/net/phy/phy.c:1075:20: error: 'struct phy_device' has no member named 'dev'; did you mean 'drv'?
       dev_warn(&phydev->dev, "no link in PHY_RUNNING\n");
                       ^~

vim +1075 drivers/net/phy/phy.c

  1069			 * Failsafe: check that nobody set phydev->link=0 between two
  1070			 * poll cycles, otherwise we won't leave RUNNING state as long
  1071			 * as link remains down.
  1072			 */
  1073			if (!phydev->link && phydev->state == PHY_RUNNING) {
  1074				phydev->state = PHY_CHANGELINK;
1075				dev_warn(&phydev->dev, "no link in PHY_RUNNING\n");
  1076			}
  1077			break;
  1078		case PHY_CHANGELINK:

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help