* [sashal-linux-stable:queue-5.10 7/74] drivers/net/phy/mscc/mscc_main.c:2053:3: error: implicit declaration of function 'phy_error'
@ 2021-03-18 4:42 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-18 4:42 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2711 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-5.10
head: 9ced6633127bd25a94939777d9ecda54800859fc
commit: 556c690c2ac41a99d2ff2b666d8c7b93441cd37f [7/74] net: phy: mscc: implement generic .handle_interrupt() callback
config: arm-randconfig-r023-20210318 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 6db3ab2903f42712f44000afb5aa467efbd25f35)
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
# https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/commit/?id=556c690c2ac41a99d2ff2b666d8c7b93441cd37f
git remote add sashal-linux-stable https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
git fetch --no-tags sashal-linux-stable queue-5.10
git checkout 556c690c2ac41a99d2ff2b666d8c7b93441cd37f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
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/phy/mscc/mscc_main.c:2053:3: error: implicit declaration of function 'phy_error' [-Werror,-Wimplicit-function-declaration]
phy_error(phydev);
^
>> drivers/net/phy/mscc/mscc_main.c:2060:2: error: implicit declaration of function 'phy_trigger_machine' [-Werror,-Wimplicit-function-declaration]
phy_trigger_machine(phydev);
^
drivers/net/phy/mscc/mscc_main.c:2060:2: note: did you mean 'phy_state_machine'?
include/linux/phy.h:1543:6: note: 'phy_state_machine' declared here
void phy_state_machine(struct work_struct *work);
^
2 errors generated.
vim +/phy_error +2053 drivers/net/phy/mscc/mscc_main.c
2046
2047 static irqreturn_t vsc85xx_handle_interrupt(struct phy_device *phydev)
2048 {
2049 int irq_status;
2050
2051 irq_status = phy_read(phydev, MII_VSC85XX_INT_STATUS);
2052 if (irq_status < 0) {
> 2053 phy_error(phydev);
2054 return IRQ_NONE;
2055 }
2056
2057 if (!(irq_status & MII_VSC85XX_INT_MASK_MASK))
2058 return IRQ_NONE;
2059
> 2060 phy_trigger_machine(phydev);
2061
2062 return IRQ_HANDLED;
2063 }
2064
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 35444 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-18 4:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-18 4:42 [sashal-linux-stable:queue-5.10 7/74] drivers/net/phy/mscc/mscc_main.c:2053:3: error: implicit declaration of function 'phy_error' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.