[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201702011942.0taRzIP2%fengguang.wu@intel.com>
Date:   Wed, 1 Feb 2017 19:13:27 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Raju Lakkaraju <Raju.Lakkaraju@...rosemi.com>
Cc:     kbuild-all@...org, netdev@...r.kernel.org,
        devicetree@...r.kernel.org, f.fainelli@...il.com,
        Allan.Nielsen@...rosemi.com, andrew@...n.ch,
        Raju Lakkaraju <Raju.Lakkaraju@...rosemi.com>
Subject: Re: [PATCH v1 net-next] net: phy: Add LED mode driver for Microsemi
 PHYs.
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
Download attachment ".config.gz" of type "application/gzip" (26458 bytes)
Powered by blists - more mailing lists
 
