[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201603171733.KZ2PaxkR%fengguang.wu@intel.com>
Date: Thu, 17 Mar 2016 17:43:06 +0800
From: kbuild test robot <lkp@...el.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: kbuild-all@...org,
Rafał Miłecki <zajec5@...il.com>,
Arnd Bergmann <arnd@...db.de>,
Kalle Valo <kvalo@...eaurora.org>,
Hauke Mehrtens <hauke@...ke-m.de>,
linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] bcma: use of_dma_configure() to set initial dma mask
Hi Arnd,
[auto build test ERROR on v4.5-rc7]
[also build test ERROR on next-20160317]
[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/Arnd-Bergmann/bcma-fix-building-without-OF_IRQ/20160317-172805
config: xtensa-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
# save the attached .config to linux build tree
make.cross ARCH=xtensa
All errors (new ones prefixed by >>):
drivers/bcma/main.c: In function 'bcma_of_fill_device':
>> drivers/bcma/main.c:213:2: error: incompatible type for argument 1 of 'of_dma_configure'
of_dma_configure(core->dev, node);
^
In file included from include/linux/of_platform.h:17:0,
from drivers/bcma/main.c:17:
include/linux/of_device.h:58:6: note: expected 'struct device *' but argument is of type 'struct device'
void of_dma_configure(struct device *dev, struct device_node *np);
^
vim +/of_dma_configure +213 drivers/bcma/main.c
207 node = bcma_of_find_child_device(parent, core);
208 if (node)
209 core->dev.of_node = node;
210
211 core->irq = bcma_of_get_irq(parent, core, 0);
212
> 213 of_dma_configure(core->dev, node);
214 }
215
216 unsigned int bcma_core_irq(struct bcma_device *core, int num)
---
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" (44058 bytes)
Powered by blists - more mailing lists