* [rmk-arm:clearfog 80/94] drivers/net/ethernet/marvell/mvgmac.c:174:48: error: use of undeclared identifier 'MVNETA_GMAC_LINK_UP'; did you mean 'MVGMAC_LINK_UP'?
@ 2024-03-12 7:37 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-03-12 7:37 UTC (permalink / raw)
To: Russell King; +Cc: llvm, oe-kbuild-all
tree: git://git.armlinux.org.uk/~rmk/linux-arm clearfog
head: 9d1640e5aae3e685888788662bb7b33adb457f13
commit: 4e45e1b969facc484006a6998cd4d3daadca4fe2 [80/94] net: mvneta: split out GMAC
config: arm-defconfig (https://download.01.org/0day-ci/archive/20240312/202403121542.2V1myyKA-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240312/202403121542.2V1myyKA-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202403121542.2V1myyKA-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/net/ethernet/marvell/mvgmac.c:174:48: error: use of undeclared identifier 'MVNETA_GMAC_LINK_UP'; did you mean 'MVGMAC_LINK_UP'?
phylink_pcs_change(&gmac->pcs, !!(gmac_stat & MVNETA_GMAC_LINK_UP));
^~~~~~~~~~~~~~~~~~~
MVGMAC_LINK_UP
drivers/net/ethernet/marvell/mvgmac.c:52:2: note: 'MVGMAC_LINK_UP' declared here
MVGMAC_LINK_UP = BIT(0),
^
1 error generated.
vim +174 drivers/net/ethernet/marvell/mvgmac.c
169
170 void mvgmac_link_change(struct mvgmac *gmac)
171 {
172 u32 gmac_stat = readl_relaxed(gmac->base + GMAC_STATUS_REG);
173
> 174 phylink_pcs_change(&gmac->pcs, !!(gmac_stat & MVNETA_GMAC_LINK_UP));
175 }
176 EXPORT_SYMBOL_GPL(mvgmac_link_change);
177
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-03-12 7:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-12 7:37 [rmk-arm:clearfog 80/94] drivers/net/ethernet/marvell/mvgmac.c:174:48: error: use of undeclared identifier 'MVNETA_GMAC_LINK_UP'; did you mean 'MVGMAC_LINK_UP'? 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).