mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Philipp Zabel <p.zabel@pengutronix.de>
Cc: kbuild-all@01.org, Lee Jones <lee.jones@linaro.org>,
	Arnd Bergmann <arnd@arndb.de>,
	linux-kernel@vger.kernel.org, kernel@pengutronix.de,
	Philipp Zabel <p.zabel@pengutronix.de>
Subject: Re: [PATCH] mfd: syscon: set regmap max_register in of_syscon_register
Date: Sat, 30 Jan 2016 00:14:27 +0800	[thread overview]
Message-ID: <201601300006.Y26AYMjS%fengguang.wu@intel.com> (raw)
In-Reply-To: <1454060151-15611-1-git-send-email-p.zabel@pengutronix.de>

[-- Attachment #1: Type: text/plain, Size: 3168 bytes --]

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 #2: .config.gz --]
[-- Type: application/octet-stream, Size: 17787 bytes --]

      parent reply	other threads:[~2016-01-29 16:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-29  9:35 Philipp Zabel
2016-01-29 10:08 ` Arnd Bergmann
2016-01-29 11:15 ` Lee Jones
2016-01-29 16:14 ` kbuild test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201601300006.Y26AYMjS%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=arnd@arndb.de \
    --cc=kbuild-all@01.org \
    --cc=kernel@pengutronix.de \
    --cc=lee.jones@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=p.zabel@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®