[arm:zii 78/128] drivers/net/dsa/ocelot/felix_vsc9959.c:940:12: error: use of undeclared identifier 'ocelot_port'
kernel test robot
lkp at intel.com
Fri Nov 19 12:39:39 PST 2021
tree: git://git.armlinux.org.uk/~rmk/linux-arm.git zii
head: e2b78f9343e58d06b9b8561ade72f4d5aeb43e4f
commit: aa6c6c92d19e81faebd965a56b582fdc7371126c [78/128] net: dsa: ocelot: convert to phylink_generic_validate()
config: arm-randconfig-r025-20211118 (attached as .config)
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
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
git remote add arm git://git.armlinux.org.uk/~rmk/linux-arm.git
git fetch --no-tags arm zii
git checkout aa6c6c92d19e81faebd965a56b582fdc7371126c
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/net/dsa/ocelot/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
All errors (new ones prefixed by >>):
>> drivers/net/dsa/ocelot/felix_vsc9959.c:940:12: error: use of undeclared identifier 'ocelot_port'
__set_bit(ocelot_port->phy_mode,
^
1 error generated.
vim +/ocelot_port +940 drivers/net/dsa/ocelot/felix_vsc9959.c
936
937 static void vsc9959_phylink_get_caps(struct ocelot *ocelot, int port,
938 struct phylink_config *config)
939 {
> 940 __set_bit(ocelot_port->phy_mode,
941 config->supported_interfaces);
942
943 config->mac_capabilities = MAC_ASYM_PAUSE | MAC_SYM_PAUSE |
944 MAC_10 | MAC_100 | MAC_1000 | MAC_2500FD;
945 }
946
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 47072 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20211120/e0176ff8/attachment-0001.gz>
More information about the linux-arm-kernel
mailing list