[net-next:master 472/475] drivers/net/ethernet/cadence/macb.c:2139:25: error: 'macb_dt_ids' undeclared
From: Fengguang Wu <hidden>
Date: 2015-03-11 12:21:19
tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: 59e33c2b021322db92ca27c4d9958e57630443b6 commit: 3cef5c5b0b56f3f90b0e9ff8d3f8dc57f464cc14 [472/475] Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net config: microblaze-allyesconfig (attached as .config) 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 git checkout 3cef5c5b0b56f3f90b0e9ff8d3f8dc57f464cc14 # save the attached .config to linux build tree make.cross ARCH=microblaze All error/warnings: drivers/net/ethernet/cadence/macb.c: In function 'macb_configure_caps':
quoted
drivers/net/ethernet/cadence/macb.c:2139:25: error: 'macb_dt_ids' undeclared (first use in this function)
match = of_match_node(macb_dt_ids, bp->pdev->dev.of_node);
^
drivers/net/ethernet/cadence/macb.c:2139:25: note: each undeclared identifier is reported only once for each function it appears in
vim +/macb_dt_ids +2139 drivers/net/ethernet/cadence/macb.c
e175587f Nicolas Ferre 2014-07-24 2133 {
e175587f Nicolas Ferre 2014-07-24 2134 const struct of_device_id *match;
e175587f Nicolas Ferre 2014-07-24 2135 const struct macb_config *config;
e175587f Nicolas Ferre 2014-07-24 2136 u32 dcfg;
e175587f Nicolas Ferre 2014-07-24 2137
e175587f Nicolas Ferre 2014-07-24 2138 if (bp->pdev->dev.of_node) {
e175587f Nicolas Ferre 2014-07-24 @2139 match = of_match_node(macb_dt_ids, bp->pdev->dev.of_node);
e175587f Nicolas Ferre 2014-07-24 2140 if (match && match->data) {
0b2eb3e9 Josh Cartwright 2015-03-09 2141 config = match->data;
e175587f Nicolas Ferre 2014-07-24 2142
---
0-DAY kernel test infrastructure Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild Intel Corporation