* [rmk-arm:zii 84/107] drivers/net/dsa/ocelot/felix_vsc9959.c:964:13: error: 'state' undeclared; did you mean 'statx'?
@ 2022-06-22 5:25 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-06-22 5:25 UTC (permalink / raw)
To: Russell King (Oracle); +Cc: kbuild-all, linux-kernel
tree: git://git.armlinux.org.uk/~rmk/linux-arm zii
head: aedc75cf78fca1c8b7052c5d59981354f47e2e48
commit: 7d384dc3e28afd432b6ce219a699c0f02003e899 [84/107] net: dsa: ocelot: use phylink_validate_mask_caps()
config: alpha-randconfig-r022-20220622 (https://download.01.org/0day-ci/archive/20220622/202206221327.UPS1BcWt-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 11.3.0
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
git remote add rmk-arm git://git.armlinux.org.uk/~rmk/linux-arm
git fetch --no-tags rmk-arm zii
git checkout 7d384dc3e28afd432b6ce219a699c0f02003e899
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=alpha SHELL=/bin/bash drivers/net/dsa/ocelot/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/net/dsa/ocelot/felix_vsc9959.c: In function 'vsc9959_phylink_caps':
>> drivers/net/dsa/ocelot/felix_vsc9959.c:964:13: error: 'state' undeclared (first use in this function); did you mean 'statx'?
964 | if (state->interface == PHY_INTERFACE_MODE_INTERNAL ||
| ^~~~~
| statx
drivers/net/dsa/ocelot/felix_vsc9959.c:964:13: note: each undeclared identifier is reported only once for each function it appears in
vim +964 drivers/net/dsa/ocelot/felix_vsc9959.c
56051948773eeb Vladimir Oltean 2019-11-14 958
7d384dc3e28afd Russell King (Oracle 2022-06-18 959) static unsigned long vsc9959_phylink_caps(phy_interface_t interface)
375e1314292194 Vladimir Oltean 2020-07-13 960 {
7d384dc3e28afd Russell King (Oracle 2022-06-18 961) unsigned long caps = MAC_ASYM_PAUSE | MAC_SYM_PAUSE |
7d384dc3e28afd Russell King (Oracle 2022-06-18 962) MAC_10 | MAC_100 | MAC_1000;
375e1314292194 Vladimir Oltean 2020-07-13 963
375e1314292194 Vladimir Oltean 2020-07-13 @964 if (state->interface == PHY_INTERFACE_MODE_INTERNAL ||
375e1314292194 Vladimir Oltean 2020-07-13 965 state->interface == PHY_INTERFACE_MODE_2500BASEX ||
7d384dc3e28afd Russell King (Oracle 2022-06-18 966) state->interface == PHY_INTERFACE_MODE_USXGMII)
7d384dc3e28afd Russell King (Oracle 2022-06-18 967) caps |= MAC_2500FD;
375e1314292194 Vladimir Oltean 2020-07-13 968
7d384dc3e28afd Russell King (Oracle 2022-06-18 969) return caps;
375e1314292194 Vladimir Oltean 2020-07-13 970 }
375e1314292194 Vladimir Oltean 2020-07-13 971
:::::: The code at line 964 was first introduced by commit
:::::: 375e131429219486e581df8bd11b0dff87f0895a net: dsa: felix: move probing to felix_vsc9959.c
:::::: TO: Vladimir Oltean <vladimir.oltean@nxp.com>
:::::: CC: David S. Miller <davem@davemloft.net>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-22 5:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-22 5:25 [rmk-arm:zii 84/107] drivers/net/dsa/ocelot/felix_vsc9959.c:964:13: error: 'state' undeclared; did you mean 'statx'? kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®