* [arm:zii 78/128] drivers/net/dsa/ocelot/felix_vsc9959.c:940:12: error: use of undeclared identifier 'ocelot_port'
@ 2021-11-19 20:39 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-19 20:39 UTC (permalink / raw)
To: Russell King (Oracle); +Cc: llvm, kbuild-all, linux-arm-kernel
[-- Attachment #1: Type: text/plain, Size: 1832 bytes --]
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@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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 47072 bytes --]
[-- Attachment #3: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-19 20:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-19 20:39 [arm:zii 78/128] drivers/net/dsa/ocelot/felix_vsc9959.c:940:12: error: use of undeclared identifier 'ocelot_port' 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;
as well as URLs for NNTP newsgroup(s).