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:	Mon, 28 Jul 2008 11:03:54 -0700
From:	David Brownell <david-b@...bell.net>
To:	Atsushi Nemoto <anemo@....ocn.ne.jp>
Cc:	linux-kernel@...r.kernel.org, akpm@...ux-foundation.org
Subject: Re: [PATCH] gpio: Fix build on CONFIG_GPIO_SYSFS=n

On Monday 28 July 2008, Atsushi Nemoto wrote:
> If CONFIG_GENERIC_GPIO=y && CONFIG_GPIO_SYSFS=n, gpio_export() in
> asm-generic/gpio.h refers -ENOSYS and causes build error.
> 
> Signed-off-by: Atsushi Nemoto <anemo@....ocn.ne.jp>

Acked-by: David Brownell <dbrownell@...rs.sourceforge.net>


> ---
> diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h
> index c764a8f..0f99ad3 100644
> --- a/include/asm-generic/gpio.h
> +++ b/include/asm-generic/gpio.h
> @@ -2,6 +2,7 @@
>  #define _ASM_GENERIC_GPIO_H
>  
>  #include <linux/types.h>
> +#include <linux/errno.h>
>  
>  #ifdef CONFIG_GPIOLIB
>  
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ