mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Rob Herring <robh@kernel.org>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org
Subject: drivers/mfd/syscon.c:89:2: error: implicit declaration of function 'iounmap'
Date: Sun, 28 Feb 2016 08:23:40 +0800	[thread overview]
Message-ID: <201602280838.bCjq624B%fengguang.wu@intel.com> (raw)

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

Hi Rob,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   691429e13dfaf5b0994b07cc166db41bd608ee3d
commit: 0166dc11be911213e0b1b764488c671be4c48cf3 of: make CONFIG_OF user selectable
date:   9 months ago
config: um-allyesconfig (attached as .config)
reproduce:
        git checkout 0166dc11be911213e0b1b764488c671be4c48cf3
        # save the attached .config to linux build tree
        make ARCH=um 

All errors (new ones prefixed by >>):

   drivers/mfd/syscon.c: In function 'of_syscon_register':
>> drivers/mfd/syscon.c:89:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
     iounmap(base);
     ^
   cc1: some warnings being treated as errors

vim +/iounmap +89 drivers/mfd/syscon.c

bdb0066d Pankaj Dubey 2014-09-30  73  	if (IS_ERR(regmap)) {
bdb0066d Pankaj Dubey 2014-09-30  74  		pr_err("regmap init failed\n");
bdb0066d Pankaj Dubey 2014-09-30  75  		ret = PTR_ERR(regmap);
bdb0066d Pankaj Dubey 2014-09-30  76  		goto err_regmap;
bdb0066d Pankaj Dubey 2014-09-30  77  	}
bdb0066d Pankaj Dubey 2014-09-30  78  
bdb0066d Pankaj Dubey 2014-09-30  79  	syscon->regmap = regmap;
bdb0066d Pankaj Dubey 2014-09-30  80  	syscon->np = np;
bdb0066d Pankaj Dubey 2014-09-30  81  
bdb0066d Pankaj Dubey 2014-09-30  82  	spin_lock(&syscon_list_slock);
bdb0066d Pankaj Dubey 2014-09-30  83  	list_add_tail(&syscon->list, &syscon_list);
bdb0066d Pankaj Dubey 2014-09-30  84  	spin_unlock(&syscon_list_slock);
87d68730 Dong Aisheng 2012-09-05  85  
bdb0066d Pankaj Dubey 2014-09-30  86  	return syscon;
bdb0066d Pankaj Dubey 2014-09-30  87  
bdb0066d Pankaj Dubey 2014-09-30  88  err_regmap:
bdb0066d Pankaj Dubey 2014-09-30 @89  	iounmap(base);
bdb0066d Pankaj Dubey 2014-09-30  90  err_map:
bdb0066d Pankaj Dubey 2014-09-30  91  	kfree(syscon);
bdb0066d Pankaj Dubey 2014-09-30  92  	return ERR_PTR(ret);
87d68730 Dong Aisheng 2012-09-05  93  }
87d68730 Dong Aisheng 2012-09-05  94  
87d68730 Dong Aisheng 2012-09-05  95  struct regmap *syscon_node_to_regmap(struct device_node *np)
87d68730 Dong Aisheng 2012-09-05  96  {
bdb0066d Pankaj Dubey 2014-09-30  97  	struct syscon *entry, *syscon = NULL;

:::::: The code at line 89 was first introduced by commit
:::::: bdb0066df96e74a4002125467ebe459feff1ebef mfd: syscon: Decouple syscon interface from platform devices

:::::: TO: Pankaj Dubey <pankaj.dubey@samsung.com>
:::::: CC: Lee Jones <lee.jones@linaro.org>

---
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: 15947 bytes --]

             reply	other threads:[~2016-02-28  0:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-28  0:23 kbuild test robot [this message]
2016-03-06  0:32 kbuild test robot
2016-03-06 13:33 ` Krzysztof Kozlowski
2016-03-13  5:56 kbuild test robot
2016-03-20  2:07 kbuild test robot
2016-04-03  3:58 kbuild test robot
2016-04-17  5:05 kbuild test robot

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=201602280838.bCjq624B%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    /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®