linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* drivers/gpio/gpiolib-of.c:317:2: error: implicit declaration of function 'iounmap'
@ 2016-06-05 12:56 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2016-06-05 12:56 UTC (permalink / raw)
  Cc: kbuild-all, linux-kernel, Linus Walleij

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

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 17990 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-05 12:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-05 12:56 drivers/gpio/gpiolib-of.c:317:2: error: implicit declaration of function 'iounmap' kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).