Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1414111
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | kbuild test robot <fengguang.wu@intel.com> |
| Newsgroups | linux.kernel |
| Subject | drivers/gpio/gpiolib-of.c:317:2: error: implicit declaration of function 'iounmap' |
| Date | Sun, 05 Jun 2016 15:00:01 +0200 |
| Message-ID | <rGFON-6Yd-9@gated-at.bofh.it> (permalink) |
| X-Extloop1 | 1 |
| X-Ironport-Av | E=Sophos;i="5.26,421,1459839600"; d="gz'50?scan'50,208,50";a="981173507" |
| MIME-Version | 1.0 |
| Content-Type | multipart/mixed; boundary="AhhlLboLdkugWU4S" |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.23 (2014-03-12) |
| X-Sa-Exim-Connect-IP | <locally generated> |
| X-Sa-Exim-Mail-From | fengguang.wu@intel.com |
| X-Sa-Exim-Scanned | No (on bee); SAEximRunCond expanded to false |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 409 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | kbuild-all@01.org, linux-kernel@vger.kernel.org, Linus Walleij <linus.walleij@linaro.org> |
| X-Original-Date | Sun, 5 Jun 2016 20:56:57 +0800 |
| X-Original-Message-ID | <201606052053.OmPJsCd7%fengguang.wu@intel.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1414111 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 049ec1b5a76d34a6980cccdb7c0baeb4eed7a993
commit: 296ad4acb8efeffa456e344c73dc9459f4e9e1a0 gpio: remove deps on ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB
date: 6 weeks ago
config: um-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
git checkout 296ad4acb8efeffa456e344c73dc9459f4e9e1a0
# save the attached .config to linux build tree
make ARCH=um
All errors (new ones prefixed by >>):
drivers/gpio/gpiolib-of.c: In function 'of_mm_gpiochip_add_data':
>> drivers/gpio/gpiolib-of.c:317:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
iounmap(mm_gc->regs);
^~~~~~~
cc1: some warnings being treated as errors
--
drivers/gpio/gpio-mpc8xxx.c: In function 'mpc8xxx_probe':
>> drivers/gpio/gpio-mpc8xxx.c:373:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
iounmap(mpc8xxx_gc->regs);
^~~~~~~
cc1: some warnings being treated as errors
vim +/iounmap +317 drivers/gpio/gpiolib-of.c
863fbf49 drivers/of/gpio.c Anton Vorontsov 2008-04-11 301 if (!mm_gc->regs)
863fbf49 drivers/of/gpio.c Anton Vorontsov 2008-04-11 302 goto err1;
863fbf49 drivers/of/gpio.c Anton Vorontsov 2008-04-11 303
21451155 drivers/of/gpio.c Anton Vorontsov 2008-04-30 304 gc->base = -1;
863fbf49 drivers/of/gpio.c Anton Vorontsov 2008-04-11 305
863fbf49 drivers/of/gpio.c Anton Vorontsov 2008-04-11 306 if (mm_gc->save_regs)
863fbf49 drivers/of/gpio.c Anton Vorontsov 2008-04-11 307 mm_gc->save_regs(mm_gc);
863fbf49 drivers/of/gpio.c Anton Vorontsov 2008-04-11 308
a19e3da5 drivers/of/gpio.c Anton Vorontsov 2010-06-08 309 mm_gc->gc.of_node = np;
863fbf49 drivers/of/gpio.c Anton Vorontsov 2008-04-11 310
3208b0f0 drivers/gpio/gpiolib-of.c Linus Walleij 2015-12-04 311 ret = gpiochip_add_data(gc, data);
863fbf49 drivers/of/gpio.c Anton Vorontsov 2008-04-11 312 if (ret)
863fbf49 drivers/of/gpio.c Anton Vorontsov 2008-04-11 313 goto err2;
863fbf49 drivers/of/gpio.c Anton Vorontsov 2008-04-11 314
863fbf49 drivers/of/gpio.c Anton Vorontsov 2008-04-11 315 return 0;
863fbf49 drivers/of/gpio.c Anton Vorontsov 2008-04-11 316 err2:
863fbf49 drivers/of/gpio.c Anton Vorontsov 2008-04-11 @317 iounmap(mm_gc->regs);
863fbf49 drivers/of/gpio.c Anton Vorontsov 2008-04-11 318 err1:
863fbf49 drivers/of/gpio.c Anton Vorontsov 2008-04-11 319 kfree(gc->label);
863fbf49 drivers/of/gpio.c Anton Vorontsov 2008-04-11 320 err0:
863fbf49 drivers/of/gpio.c Anton Vorontsov 2008-04-11 321 pr_err("%s: GPIO chip registration failed with status %d\n",
863fbf49 drivers/of/gpio.c Anton Vorontsov 2008-04-11 322 np->full_name, ret);
863fbf49 drivers/of/gpio.c Anton Vorontsov 2008-04-11 323 return ret;
863fbf49 drivers/of/gpio.c Anton Vorontsov 2008-04-11 324 }
3208b0f0 drivers/gpio/gpiolib-of.c Linus Walleij 2015-12-04 325 EXPORT_SYMBOL(of_mm_gpiochip_add_data);
:::::: The code at line 317 was first introduced by commit
:::::: 863fbf4966a7ac301a4077e4a04d73e8abfdd7b2 [POWERPC] OF helpers for the GPIO API
:::::: TO: Anton Vorontsov <avorontsov@ru.mvista.com>
:::::: CC: Paul Mackerras <paulus@samba.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
drivers/gpio/gpiolib-of.c:317:2: error: implicit declaration of function 'iounmap' kbuild test robot <fengguang.wu@intel.com> - 2016-06-05 15:00 +0200
csiph-web