Hi Rafał,

[auto build test ERROR on net-next/master]
[also build test ERROR on v4.10-rc5 next-20170125]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:    
https://github.com/0day-ci/linux/commits/Rafa-Mi-ecki/net-phy-broadcom-add-support-for-BCM54210E/20170127-190002
config: x86_64-lkp (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/broadcom.c: In function 'bcm54xx_config_init':
>> drivers/net/phy/broadcom.c:249:32: error: 'PHY_ID_BCM54210E' undeclared 
>> (first use in this function)
     if (BRCM_PHY_MODEL(phydev) == PHY_ID_BCM54210E) {
                                   ^~~~~~~~~~~~~~~~
   drivers/net/phy/broadcom.c:249:32: note: each undeclared identifier is 
reported only once for each function it appears in
   drivers/net/phy/broadcom.c: At top level:
>> drivers/net/phy/broadcom.c:565:13: error: 'PHY_ID_BCM54210E' undeclared here 
>> (not in a function)
     .phy_id  = PHY_ID_BCM54210E,
                ^~~~~~~~~~~~~~~~
>> drivers/net/phy/broadcom.c:714:4: error: initializer element is not constant
     { PHY_ID_BCM54210E, 0xfffffff0 },
       ^~~~~~~~~~~~~~~~
   drivers/net/phy/broadcom.c:714:4: note: (near initialization for 
'broadcom_tbl[2].phy_id')

vim +/PHY_ID_BCM54210E +249 drivers/net/phy/broadcom.c

   243  
   244          if ((phydev->dev_flags & PHY_BRCM_RX_REFCLK_UNUSED) ||
   245              (phydev->dev_flags & PHY_BRCM_DIS_TXCRXC_NOENRGY) ||
   246              (phydev->dev_flags & PHY_BRCM_AUTO_PWRDWN_ENABLE))
   247                  bcm54xx_adjust_rxrefclk(phydev);
   248  
 > 249          if (BRCM_PHY_MODEL(phydev) == PHY_ID_BCM54210E) {
   250                  err = bcm54210e_config_init(phydev);
   251                  if (err)
   252                          return err;

---
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