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] [thread-next>] [day] [month] [year] [list]
Message-ID: <b371a702-e70b-454f-b3e2-3fc63c10190d@blaize.com>
Date: Wed, 9 Apr 2025 14:31:18 +0100
From: Nikolaos Pasaloukos <nikolaos.pasaloukos@...ize.com>
To: Geert Uytterhoeven <geert+renesas@...der.be>,
        Linus Walleij <linus.walleij@...aro.org>,
        Bartosz Golaszewski <brgl@...ev.pl>
Cc: linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] gpio: GPIO_BLZP1600 should depend on ARCH_BLAIZE

On 09/04/2025 10:22, Geert Uytterhoeven wrote:
> The Blaize BLZP1600 GPIO controller is only present on BLaize BLZP1600
> SoCs.  Hence add a dependency on ARCH_BLAIZE, to prevent asking the user
> about this driver when configuring a kernel without Blaize platform
> support.
>
> Fixes: 602ae04f56542d8e ("gpio: Enable Blaize BLZP1600 GPIO support")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.be>
> ---
>   drivers/gpio/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index ae458fdb9da7dd8a..5f8cd5445c7121ae 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -216,6 +216,7 @@ config GPIO_BCM_XGS_IPROC
>   config GPIO_BLZP1600
>   	tristate "Blaize BLZP1600 GPIO support"
>   	default y if ARCH_BLAIZE
> +	depends on ARCH_BLAIZE || COMPILE_TEST
>   	depends on OF_GPIO
>   	select GPIO_GENERIC
>   	select GPIOLIB_IRQCHIP

Reviewed-by: Nikolaos Pasaloukos <nikolaos.pasaloukos@...ize.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ