tree: git://git.armlinux.org.uk/~rmk/linux-arm.git zii
head: c6230e45540d3d3f369ab77f8404cd5c02076564
commit: 64645d6cf1ee569dc2b736920eb5575bb3b610b9 [9/14] net: dsa: mv88e6xxx: add phylink support
config: x86_64-randconfig-x010-201850 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
git checkout 64645d6cf1ee569dc2b736920eb5575bb3b610b9
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
drivers/net//dsa/mv88e6xxx/chip.c: In function 'mv88e6xxx_default_mac_config':quoted
drivers/net//dsa/mv88e6xxx/chip.c:681:57: error: 'ds' undeclared (first use in this function)
if (mode == MLO_AN_FIXED || !mv88e6xxx_phy_is_internal(ds, port)) {
^~
drivers/net//dsa/mv88e6xxx/chip.c:681:57: note: each undeclared identifier is reported only once for each function it appears in
vim +/ds +681 drivers/net//dsa/mv88e6xxx/chip.c
671
672 static int mv88e6xxx_default_mac_config(struct mv88e6xxx_chip *chip, int port,
673 unsigned int mode,
674 const struct phylink_link_state *state)
675 {
676 int link, speed, duplex, pause;
677
678 if (mode == MLO_AN_PHY)
679 return 0;
680
> 681 if (mode == MLO_AN_FIXED || !mv88e6xxx_phy_is_internal(ds, port)) {
682 link = state->link;
683 speed = state->speed;
684 duplex = state->duplex;
685 } else {
686 speed = SPEED_UNFORCED;
687 duplex = DUPLEX_UNFORCED;
688 link = LINK_UNFORCED;
689 }
690
691 pause = !!phylink_test(state->advertising, Pause);
692
693 return mv88e6xxx_port_setup_mac(chip, port, link, speed, duplex, pause,
694 state->interface);
695 }
696
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation