Re: [PATCH] mfd: syscon: set regmap max_register in of_syscon_register
From: kbuild test robot
Date: Fri Jan 29 2016 - 11:16:21 EST
Hi Philipp,
[auto build test ERROR on ljones-mfd/for-mfd-next]
[also build test ERROR on v4.5-rc1 next-20160129]
[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/Philipp-Zabel/mfd-syscon-set-regmap-max_register-in-of_syscon_register/20160129-173854
base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
config: um-allmodconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=um
All error/warnings (new ones prefixed by >>):
/kbuild/src/defs/drivers/platform/goldfish/pdev_bus.c: In function 'goldfish_pdev_bus_probe':
>> /kbuild/src/defs/drivers/platform/goldfish/pdev_bus.c:191:18: error: implicit declaration of function 'ioremap' [-Werror=implicit-function-declaration]
pdev_bus_base = ioremap(pdev_bus_addr, pdev_bus_len);
^
>> /kbuild/src/defs/drivers/platform/goldfish/pdev_bus.c:191:16: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
pdev_bus_base = ioremap(pdev_bus_addr, pdev_bus_len);
^
>> /kbuild/src/defs/drivers/platform/goldfish/pdev_bus.c:217:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
iounmap(pdev_bus_base);
^
cc1: some warnings being treated as errors
--
drivers/mfd/syscon.c: In function 'of_syscon_register':
>> drivers/mfd/syscon.c:67:9: error: implicit declaration of function 'ioremap' [-Werror=implicit-function-declaration]
base = ioremap(res.start, resource_size(&res));
^
>> drivers/mfd/syscon.c:67:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
base = ioremap(res.start, resource_size(&res));
^
drivers/mfd/syscon.c:109:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
iounmap(base);
^
cc1: some warnings being treated as errors
--
/kbuild/src/defs/drivers/mfd/syscon.c: In function 'of_syscon_register':
>> /kbuild/src/defs/drivers/mfd/syscon.c:67:9: error: implicit declaration of function 'ioremap' [-Werror=implicit-function-declaration]
base = ioremap(res.start, resource_size(&res));
^
>> /kbuild/src/defs/drivers/mfd/syscon.c:67:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
base = ioremap(res.start, resource_size(&res));
^
/kbuild/src/defs/drivers/mfd/syscon.c:109:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
iounmap(base);
^
cc1: some warnings being treated as errors
vim +/ioremap +67 drivers/mfd/syscon.c
61
62 if (of_address_to_resource(np, 0, &res)) {
63 ret = -ENOMEM;
64 goto err_map;
65 }
66
> 67 base = ioremap(res.start, resource_size(&res));
68 if (!base) {
69 ret = -ENOMEM;
70 goto err_map;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data