[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201701061601.USOwjPJZ%fengguang.wu@intel.com>
Date: Fri, 6 Jan 2017 16:14:59 +0800
From: kbuild test robot <lkp@...el.com>
To: Joao Pinto <Joao.Pinto@...opsys.com>
Cc: kbuild-all@...org, davem@...emloft.net, lars.persson@...s.com,
niklass@...s.com, swarren@...dia.com, treding@...dia.com,
netdev@...r.kernel.org, Joao Pinto <Joao.Pinto@...opsys.com>
Subject: Re: [PATCH v4 3/3] stmmac: adding new glue driver dwmac-dwc-qos-eth
Hi Joao,
[auto build test ERROR on net-next/master]
[also build test ERROR on next-20170105]
[cannot apply to v4.10-rc2]
[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/Joao-Pinto/adding-new-glue-driver-dwmac-dwc-qos-eth/20170106-154152
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.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
All errors (new ones prefixed by >>):
drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c: In function 'dwc_eth_dwmac_probe':
>> drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c:116:9: error: incompatible type for argument 1 of 'memset'
memset(stmmac_res, 0, sizeof(struct stmmac_resources));
^~~~~~~~~~
In file included from include/linux/string.h:18:0,
from include/linux/bitmap.h:8,
from include/linux/cpumask.h:11,
from include/linux/rcupdate.h:40,
from include/linux/srcu.h:33,
from include/linux/notifier.h:15,
from include/linux/clk.h:17,
from drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c:14:
arch/ia64/include/asm/string.h:19:14: note: expected 'void *' but argument is of type 'struct stmmac_resources'
extern void *memset (void *, int, __kernel_size_t);
^~~~~~
vim +/memset +116 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c
110 {
111 struct plat_stmmacenet_data *plat_dat;
112 struct stmmac_resources stmmac_res;
113 struct resource *res;
114 int ret;
115
> 116 memset(stmmac_res, 0, sizeof(struct stmmac_resources));
117
118 /**
119 * Since stmmac_platform supports name IRQ only, basic platform
---
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/gzip" (45853 bytes)
Powered by blists - more mailing lists