From: kernel test robot <lkp@intel.com>
To: "Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [rmk-arm:zii 42/87] drivers/net/pcs/pcs-xpcs.c:178:16: error: implicit declaration of function 'mdiodev_c45_read'; did you mean 'mdiobus_c45_read'?
Date: Thu, 4 Aug 2022 06:33:40 +0800 [thread overview]
Message-ID: <202208040620.UbUqOw7I-lkp@intel.com> (raw)
tree: git://git.armlinux.org.uk/~rmk/linux-arm zii
head: 315d00812d1f8ed8bbbce4e4fd8d32fc883900a0
commit: 8994c74ee066d099110807ffcee3f61ffd62d28b [42/87] net: pcs: xpcs: use mdiodev accessors
config: arc-randconfig-r003-20220803 (https://download.01.org/0day-ci/archive/20220804/202208040620.UbUqOw7I-lkp@intel.com/config)
compiler: arceb-elf-gcc (GCC) 12.1.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 8994c74ee066d099110807ffcee3f61ffd62d28b
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash drivers/net/pcs/
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/pcs/pcs-xpcs.c: In function 'xpcs_read':
>> drivers/net/pcs/pcs-xpcs.c:178:16: error: implicit declaration of function 'mdiodev_c45_read'; did you mean 'mdiobus_c45_read'? [-Werror=implicit-function-declaration]
178 | return mdiodev_c45_read(xpcs->mdiodev, dev, reg);
| ^~~~~~~~~~~~~~~~
| mdiobus_c45_read
drivers/net/pcs/pcs-xpcs.c: In function 'xpcs_write':
>> drivers/net/pcs/pcs-xpcs.c:183:16: error: implicit declaration of function 'mdiodev_c45_write'; did you mean 'mdiobus_c45_write'? [-Werror=implicit-function-declaration]
183 | return mdiodev_c45_write(xpcs->mdiodev, dev, reg, val);
| ^~~~~~~~~~~~~~~~~
| mdiobus_c45_write
cc1: some warnings being treated as errors
vim +178 drivers/net/pcs/pcs-xpcs.c
172
173 #define xpcs_linkmode_supported(compat, mode) \
174 __xpcs_linkmode_supported(compat, ETHTOOL_LINK_MODE_ ## mode ## _BIT)
175
176 int xpcs_read(struct dw_xpcs *xpcs, int dev, u32 reg)
177 {
> 178 return mdiodev_c45_read(xpcs->mdiodev, dev, reg);
179 }
180
181 int xpcs_write(struct dw_xpcs *xpcs, int dev, u32 reg, u16 val)
182 {
> 183 return mdiodev_c45_write(xpcs->mdiodev, dev, reg, val);
184 }
185
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-08-03 22:34 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=202208040620.UbUqOw7I-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--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
all inboxes | Powered by JetHome®