Re: [PATCH v2 net] net: phy: Fix LED mode in DT single property.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi Raju,

[auto build test ERROR on net/master]

url:    https://github.com/0day-ci/linux/commits/Raju-Lakkaraju/net-phy-Fix-LED-mode-in-DT-single-property/20170224-171412
config: i386-randconfig-x011-201708 (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=i386 

All errors (new ones prefixed by >>):

   drivers/net/phy/mscc.c: In function 'vsc85xx_dt_led_mode_get':
>> drivers/net/phy/mscc.c:452:2: error: 'vsc8531' undeclared (first use in this function)
     vsc8531->led_0_mode = VSC8531_LINK_1000_ACTIVITY;
     ^~~~~~~
   drivers/net/phy/mscc.c:452:2: note: each undeclared identifier is reported only once for each function it appears in

vim +/vsc8531 +452 drivers/net/phy/mscc.c

   446	{
   447		return 0;
   448	}
   449	
   450	static int vsc85xx_dt_led_mode_get(struct phy_device *phydev, char *led)
   451	{
 > 452		vsc8531->led_0_mode = VSC8531_LINK_1000_ACTIVITY;
   453		vsc8531->led_1_mode = VSC8531_LINK_100_ACTIVITY;
   454		return 0;
   455	}

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux