[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201608050819.4hkEcAaK%fengguang.wu@intel.com>
Date: Fri, 5 Aug 2016 08:16:32 +0800
From: kbuild test robot <lkp@...el.com>
To: Ivan Khoronzhuk <ivan.khoronzhuk@...aro.org>
Cc: kbuild-all@...org, netdev@...r.kernel.org, mugunthanvnm@...com,
linux-omap@...r.kernel.org, grygorii.strashko@...com,
linux-kernel@...r.kernel.org,
Ivan Khoronzhuk <ivan.khoronzhuk@...aro.org>
Subject: Re: [PATCH] net: ethernet: ti: cpsw: split common driver data and
slaves data
Hi Ivan,
[auto build test ERROR on net/master]
[also build test ERROR on next-20160804]
[cannot apply to net-next/master v4.7]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Ivan-Khoronzhuk/net-ethernet-ti-cpsw-split-common-driver-data-and-slaves-data/20160805-052837
config: arm-multi_v7_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 5.4.0-6) 5.4.0 20160609
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=arm
All error/warnings (new ones prefixed by >>):
>> drivers/net/ethernet/ti/cpsw.c:403:8: error: expected ';', identifier or '(' before 'struct'
static struct cpsw_common *cpsw;
^
drivers/net/ethernet/ti/cpsw.c: In function 'cpsw_tx_poll':
>> drivers/net/ethernet/ti/cpsw.c:788:27: error: implicit declaration of function 'napi_to_priv' [-Werror=implicit-function-declaration]
struct cpsw_priv *priv = napi_to_priv(napi_tx);
^
>> drivers/net/ethernet/ti/cpsw.c:788:27: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
drivers/net/ethernet/ti/cpsw.c: In function 'cpsw_rx_poll':
drivers/net/ethernet/ti/cpsw.c:809:27: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
struct cpsw_priv *priv = napi_to_priv(napi_rx);
^
drivers/net/ethernet/ti/cpsw.c: In function 'cpsw_ndo_open':
>> drivers/net/ethernet/ti/cpsw.c:1259:12: error: 'struct cpsw_priv' has no member named 'version'
reg = priv->version;
^
drivers/net/ethernet/ti/cpsw.c: In function 'cpsw_probe_dual_emac':
>> drivers/net/ethernet/ti/cpsw.c:2148:15: warning: unused variable 'i' [-Wunused-variable]
int ret = 0, i;
^
drivers/net/ethernet/ti/cpsw.c: In function 'cpsw_probe':
>> drivers/net/ethernet/ti/cpsw.c:2434:6: error: 'struct cpsw_common' has no member named 'irq'
cpsw->irq = platform_get_irq(pdev, 1);
^
drivers/net/ethernet/ti/cpsw.c:2435:10: error: 'struct cpsw_common' has no member named 'irq'
if (cpsw->irq < 0) {
^
drivers/net/ethernet/ti/cpsw.c:2437:13: error: 'struct cpsw_common' has no member named 'irq'
ret = cpsw->irq;
^
cc1: some warnings being treated as errors
vim +403 drivers/net/ethernet/ti/cpsw.c
397 /* snapshot of IRQ numbers */
398 u32 irqs_table[4];
399 u32 num_irqs;
400 struct cpts *cpts;
401 }
402
> 403 static struct cpsw_common *cpsw;
404
405 struct cpsw_stats {
406 char stat_string[ETH_GSTRING_LEN];
---
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" (38486 bytes)
Powered by blists - more mailing lists