Hi Raju, [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Raju-Lakkaraju/net-phy-Add-LED-mode-driver-for-Microsemi-PHYs/20170201-185922 config: x86_64-randconfig-x001-201705 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers/net/phy/mscc.c: In function 'vsc85xx_probe': >> drivers/net/phy/mscc.c:645:13: error: implicit declaration of function 'vsc85xx_dt_led_mode_get' [-Werror=implicit-function-declaration] led_mode = vsc85xx_dt_led_mode_get(phydev, "vsc8531,led-0-mode", ^~~~~~~~~~~~~~~~~~~~~~~ At top level: drivers/net/phy/mscc.c:435:12: warning: 'vsc85xx_led_mode_get' defined but not used [-Wunused-function] static int vsc85xx_led_mode_get(struct phy_device *phydev, ^~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/vsc85xx_dt_led_mode_get +645 drivers/net/phy/mscc.c 639 640 phydev->priv = vsc8531; 641 642 vsc8531->rate_magic = rate_magic; 643 644 /* LED[0] and LED[1] mode */ > 645 led_mode = vsc85xx_dt_led_mode_get(phydev, "vsc8531,led-0-mode", 646 LINK_1000_ACTIVITY); 647 if (led_mode < 0) 648 return led_mode; --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip