From: kernel test robot <lkp@intel.com>
To: "Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
Subject: [rmk-arm:zii 79/88] drivers/net/dsa/ocelot/felix.c:952:30: error: use of undeclared identifier 'state'
Date: Sat, 13 Aug 2022 19:04:38 +0800 [thread overview]
Message-ID: <202208131936.OLjzZFs7-lkp@intel.com> (raw)
tree: git://git.armlinux.org.uk/~rmk/linux-arm zii
head: 62e6058fe979d92f54ea23e9a25dea2ab56880c8
commit: a89c8c1532e643454f4e463813183b5087b014f1 [79/88] net: dsa: ocelot: alternative
config: powerpc-allyesconfig (https://download.01.org/0day-ci/archive/20220813/202208131936.OLjzZFs7-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 5f1c7e2cc5a3c07cbc2412e851a7283c1841f520)
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 powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
git remote add rmk-arm git://git.armlinux.org.uk/~rmk/linux-arm
git fetch --no-tags rmk-arm zii
git checkout a89c8c1532e643454f4e463813183b5087b014f1
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash
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.c:952:30: error: use of undeclared identifier 'state'
felix->info->phylink_caps(state->interface);
^
1 error generated.
vim +/state +952 drivers/net/dsa/ocelot/felix.c
938
939 static void felix_phylink_get_caps(struct dsa_switch *ds, int port,
940 struct phylink_config *config,
941 phy_interface_t *default_interface)
942 {
943 struct ocelot *ocelot = ds->priv;
944 struct felix *felix;
945
946 __set_bit(ocelot->ports[port]->phy_mode,
947 config->supported_interfaces);
948
949 felix = ocelot_to_felix(ocelot);
950 if (felix->info->phylink_caps)
951 config->mac_capabilities =
> 952 felix->info->phylink_caps(state->interface);
953 }
954
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-08-13 11:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202208131936.OLjzZFs7-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=rmk+kernel@armlinux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox