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-140414
config: x86_64-randconfig-x007-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=x86_64 

All errors (new ones prefixed by >>):

   drivers/net/phy/mscc.c: In function 'vsc85xx_probe':
>> drivers/net/phy/mscc.c:662:13: error: too few arguments to function 
>> 'vsc85xx_dt_led_mode_get'
     led_mode = vsc85xx_dt_led_mode_get(phydev, "mscc,led-mode");
                ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/net/phy/mscc.c:451:12: note: declared here
    static int vsc85xx_dt_led_mode_get(struct phy_device *phydev,
               ^~~~~~~~~~~~~~~~~~~~~~~

vim +/vsc85xx_dt_led_mode_get +662 drivers/net/phy/mscc.c

   656  
   657          phydev->priv = vsc8531;
   658  
   659          vsc8531->rate_magic = rate_magic;
   660  
   661          /* LED[0] and LED[1] mode */
 > 662          led_mode = vsc85xx_dt_led_mode_get(phydev, "mscc,led-mode");
   663          if (led_mode < 0)
   664                  return led_mode;
   665  

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

Attachment: .config.gz
Description: application/gzip

Reply via email to