[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201605131632.lHVJCQY0%fengguang.wu@intel.com>
Date: Fri, 13 May 2016 16:29:28 +0800
From: kbuild test robot <lkp@...el.com>
To: Yisen Zhuang <Yisen.Zhuang@...wei.com>
Cc: kbuild-all@...org, davem@...emloft.net, rjw@...ysocki.net,
lenb@...nel.org, arnd@...db.de, andriy.shevchenko@...ux.intel.com,
andrew@...n.ch, geliangtang@....com, ivecera@...hat.com,
fengguang.wu@...el.com, charles.chenxin@...wei.com,
haifeng.wei@...wei.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, linuxarm@...wei.com
Subject: Re: [patch net-next 08/11] net: hns: register phy device in each mac
initial sequence
Hi,
[auto build test ERROR on net-next/master]
url: https://github.com/0day-ci/linux/commits/Yisen-Zhuang/net-hns-add-support-of-ACPI/20160513-161402
config: ia64-allyesconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 4.9.0
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=ia64
Note: the linux-review/Yisen-Zhuang/net-hns-add-support-of-ACPI/20160513-161402 HEAD b35bbec71070d6f7073f4bce154081fac5f156ec builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
In file included from drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c:10:0:
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c: In function 'hns_mac_get_info':
>> drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c:852:28: error: 'dev' undeclared (first use in this function)
} else if (ACPI_COMPANION(dev)) {
^
include/linux/acpi.h:54:51: note: in definition of macro 'ACPI_COMPANION'
#define ACPI_COMPANION(dev) to_acpi_device_node((dev)->fwnode)
^
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c:852:28: note: each undeclared identifier is reported only once for each function it appears in
} else if (ACPI_COMPANION(dev)) {
^
include/linux/acpi.h:54:51: note: in definition of macro 'ACPI_COMPANION'
#define ACPI_COMPANION(dev) to_acpi_device_node((dev)->fwnode)
^
vim +/dev +852 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c
846 mac_cb->cpld_ctrl = NULL;
847 } else {
848 mac_cb->cpld_ctrl = syscon;
849 mac_cb->cpld_ctrl_reg = cpld_args.args[0];
850 }
851 }
> 852 } else if (ACPI_COMPANION(dev)) {
853 hns_mac_register_phy(mac_cb);
854 } else {
855 dev_err(mac_cb->dev, "mac%d cannot find phy node\n",
---
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/octet-stream" (45888 bytes)
Powered by blists - more mailing lists