[hisi:topic-lpc-4.10-libio 143/148] drivers/of/address.c:327:3: error: implicit declaration of function 'register_io_range_cpu'
kbuild test robot
fengguang.wu at intel.com
Mon Feb 6 10:59:29 PST 2017
tree: https://github.com/hisilicon/linux-hisi topic-lpc-4.10-libio
head: 06443d85dc35b64a704f7be84cc538281a1598f4
commit: af636c18ad0df46e7c7d498eb56306565a77272c [143/148] defined wrappers for register_io_range
config: x86_64-randconfig-i0-201706 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
git checkout af636c18ad0df46e7c7d498eb56306565a77272c
# save the attached .config to linux build tree
make ARCH=x86_64
Note: the hisi/topic-lpc-4.10-libio HEAD 06443d85dc35b64a704f7be84cc538281a1598f4 builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
drivers/of/address.c: In function 'of_pci_range_to_resource':
>> drivers/of/address.c:327:3: error: implicit declaration of function 'register_io_range_cpu' [-Werror=implicit-function-declaration]
err = register_io_range_cpu(&np->fwnode, range->cpu_addr,
^
drivers/of/address.c:331:3: error: implicit declaration of function 'address_to_pio' [-Werror=implicit-function-declaration]
port = address_to_pio(range->cpu_addr);
^
drivers/of/address.c: In function '__of_translate_address':
drivers/of/address.c:611:3: error: implicit declaration of function 'find_io_range_from_fwnode' [-Werror=implicit-function-declaration]
if (find_io_range_from_fwnode(&dev->fwnode)) {
^
drivers/of/address.c: In function 'of_translate_ioport':
drivers/of/address.c:727:3: error: implicit declaration of function 'io_translate' [-Werror=implicit-function-declaration]
port = io_translate(&host->fwnode, taddr);
^
cc1: some warnings being treated as errors
vim +/register_io_range_cpu +327 drivers/of/address.c
321 res->flags = range->flags;
322 res->parent = res->child = res->sibling = NULL;
323 res->name = np->full_name;
324
325 if (res->flags & IORESOURCE_IO) {
326 unsigned long port;
> 327 err = register_io_range_cpu(&np->fwnode, range->cpu_addr,
328 range->size);
329 if (err)
330 goto invalid_range;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 26858 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170207/f5aa319e/attachment-0001.gz>
More information about the linux-arm-kernel
mailing list