Re: [PATCH v2 3/6] net: pch_gbe: Pull PHY GPIO handling out of Minnow code

From: kbuild test robot
Date: Wed Feb 03 2016 - 09:38:56 EST


Hi Paul,

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

url: https://github.com/0day-ci/linux/commits/Paul-Burton/pch_gbe-fixes-for-Imagination-Technologies-MIPS-Boston/20160203-200759
config: i386-allmodconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

Note: the linux-review/Paul-Burton/pch_gbe-fixes-for-Imagination-Technologies-MIPS-Boston/20160203-200759 HEAD 79b728ce93d7a60af590fd73294d6a3a6570ea62 builds fine.
It only hurts bisectibility.

All errors (new ones prefixed by >>):

drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c: In function 'pch_gbe_probe':
>> drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c:2640:39: error: 'pdata' undeclared (first use in this function)
adapter->pdata->platform_init(pdev, pdata);
^
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c:2640:39: note: each undeclared identifier is reported only once for each function it appears in

vim +/pdata +2640 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c

2634 adapter->netdev = netdev;
2635 adapter->pdev = pdev;
2636 adapter->hw.back = adapter;
2637 adapter->hw.reg = pcim_iomap_table(pdev)[PCH_GBE_PCI_BAR];
2638 adapter->pdata = (struct pch_gbe_privdata *)pci_id->driver_data;
2639 if (adapter->pdata && adapter->pdata->platform_init)
> 2640 adapter->pdata->platform_init(pdev, pdata);
2641
2642 if (adapter->pdata && adapter->pdata->phy_reset_gpio) {
2643 pch_gbe_phy_set_reset(&adapter->hw, 1);

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

Attachment: .config.gz
Description: Binary data