lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 10 Aug 2016 15:37:10 +0200
From:	Linus Walleij <linus.walleij@...aro.org>
To:	kbuild test robot <fengguang.wu@...el.com>,
	"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>
Cc:	"kbuild-all@...org" <kbuild-all@...org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: include/linux/io-mapping.h:130:39: error: implicit declaration of
 function 'ioremap_wc'

On Sun, Aug 7, 2016 at 8:51 AM, kbuild test robot
<fengguang.wu@...el.com> wrote:

> FYI, the error/warning still remains.
>
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   0cbbc422d56668528f6efd1234fe908010284082
> commit: 7d4defe21c682c934a19fce1ba8b54b7bde61b08 gpio: include <linux/io-mapping.h> in gpiolib-of
> date:   9 weeks ago
> config: um-allyesconfig (attached as .config)
> compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
> reproduce:
>         git checkout 7d4defe21c682c934a19fce1ba8b54b7bde61b08
>         # save the attached .config to linux build tree
>         make ARCH=um
>
> All errors (new ones prefixed by >>):
>
>    In file included from drivers/gpio/gpiolib-of.c:19:0:
>    include/linux/io-mapping.h: In function 'io_mapping_create_wc':
>>> include/linux/io-mapping.h:130:39: error: implicit declaration of function 'ioremap_wc' [-Werror=implicit-function-declaration]
>      return (struct io_mapping __force *) ioremap_wc(base, size);
>                                           ^~~~~~~~~~
>    include/linux/io-mapping.h:130:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>      return (struct io_mapping __force *) ioremap_wc(base, size);
>             ^
>    include/linux/io-mapping.h: In function 'io_mapping_free':
>>> include/linux/io-mapping.h:136:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
>      iounmap((void __force __iomem *) mapping);
>      ^~~~~~~
>    cc1: some warnings being treated as errors
>
> vim +/ioremap_wc +130 include/linux/io-mapping.h

I have tried to fix this but don't know what the problem really is,
as all archs seem to work fine except UM. I need help with this :/

Involving the linux-gpio list...

Yours,
Linus Walleij

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ