[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20150311122106.GA3388@wfg-t540p.sh.intel.com>
Date: Wed, 11 Mar 2015 20:21:06 +0800
From: Fengguang Wu <fengguang.wu@...el.com>
To: Nicolas Ferre <nicolas.ferre@...el.com>
Cc: kbuild-all@...org, netdev@...r.kernel.org
Subject: [net-next:master 472/475]
drivers/net/ethernet/cadence/macb.c:2139:25: error: 'macb_dt_ids' undeclared
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':
>> 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
View attachment ".config" of type "text/plain" (163896 bytes)
Powered by blists - more mailing lists