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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 10 Apr 2012 14:51:04 +0200
From:	Lars-Peter Clausen <lars@...afoo.de>
To:	Michal Simek <monstr@...str.eu>
CC:	microblaze-linux@...ts.itee.uq.edu.au, linux-kernel@...r.kernel.org
Subject: Re: [PATCH resend] microblaze: Do not select GENERIC_GPIO by default

On 04/10/2012 02:37 PM, Michal Simek wrote:
> Hi Lars,
> 
> 2012/4/9 Lars-Peter Clausen <lars@...afoo.de <mailto:lars@...afoo.de>>
> 
>     The microblaze architecture does not provide a native GPIO API
>     implementation
>     nor requires GPIOLIB, but still selects GENERIC_GPIO by default. As a
>     result the
>     following build error occurs, if GPIOLIB is not selected:
> 
>            include/asm-generic/gpio.h: In function 'gpio_get_value_cansleep':
>            include/asm-generic/gpio.h:218: error: implicit declaration of
>     function '__gpio_get_value'
>            include/asm-generic/gpio.h: In function 'gpio_set_value_cansleep':
>            include/asm-generic/gpio.h:224: error: implicit declaration of
>     function '__gpio_set_value'
> 
>     This patch addresses the issue by not selecting GENERIC_GPIO by default.
>     This
>     causes the GPIO API to be stubbed out if no implementation is provided.
> 
>     Signed-off-by: Lars-Peter Clausen <lars@...afoo.de <mailto:lars@...afoo.de>>
>     Cc: stable@...r.kernel.org <mailto:stable@...r.kernel.org>
>     ---
>      arch/microblaze/Kconfig |    2 +-
>      1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 
> Sorry for taking so long. Can you please send me your .config file. I have
> never seen that Microblaze has any problem with it.
> 

Hi,

basically any config which has CONFIG_GPIOLIB not set. I've attached my config.

- Lars

View attachment "microblaze.config" of type "text/plain" (26647 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ