Re: [PATCH] net/macb: add support for resetting PHY using GPIO

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

 




Hi Gregory,

[auto build test ERROR on net-next/master]
[also build test ERROR on v4.4-rc4 next-20151209]

url:    https://github.com/0day-ci/linux/commits/Gregory-CLEMENT/net-macb-add-support-for-resetting-PHY-using-GPIO/20151210-015931
config: x86_64-acpi-redef (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/net/ethernet/cadence/macb.c: In function 'macb_probe':
>> drivers/net/ethernet/cadence/macb.c:2930:2: error: implicit declaration of function 'macb_reset_phy' [-Werror=implicit-function-declaration]
     macb_reset_phy(bp, np, 1);
     ^
   cc1: some warnings being treated as errors

vim +/macb_reset_phy +2930 drivers/net/ethernet/cadence/macb.c

  2924		mac = of_get_mac_address(np);
  2925		if (mac)
  2926			memcpy(bp->dev->dev_addr, mac, ETH_ALEN);
  2927		else
  2928			macb_get_hwaddr(bp);
  2929	
> 2930		macb_reset_phy(bp, np, 1);
  2931	
  2932		err = of_get_phy_mode(np);
  2933		if (err < 0) {

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

Attachment: .config.gz
Description: Binary data


[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