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-next>] [day] [month] [year] [list]
Message-Id: <20201005125049.26926-1-geert+renesas@glider.be>
Date:   Mon,  5 Oct 2020 14:50:49 +0200
From:   Geert Uytterhoeven <geert+renesas@...der.be>
To:     Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@...hiba.co.jp>,
        Linus Walleij <linus.walleij@...aro.org>
Cc:     Punit Agrawal <punit1.agrawal@...hiba.co.jp>,
        linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
        Geert Uytterhoeven <geert+renesas@...der.be>
Subject: [PATCH] pinctrl: visconti: PINCTRL_TMPV7700 should depend on ARCH_VISCONTI

The Toshiba Visconti TMPV7700 series pin controller is only present on
Visconti SoCs.  Hence add a dependency on ARCH_VISCONTI, to prevent
asking the user about this driver when configuring a kernel without
Visconti platform support.

Fixes: a68a7844264e4fb9 ("pinctrl: visconti: Add Toshiba Visconti SoCs pinctrl support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.be>
---
 drivers/pinctrl/visconti/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/pinctrl/visconti/Kconfig b/drivers/pinctrl/visconti/Kconfig
index 198ec33189cc4706..42653fc60413d203 100644
--- a/drivers/pinctrl/visconti/Kconfig
+++ b/drivers/pinctrl/visconti/Kconfig
@@ -9,6 +9,6 @@ config PINCTRL_VISCONTI
 config PINCTRL_TMPV7700
 	bool "Toshiba Visconti TMPV7700 series pinctrl driver"
 	depends on OF
-	depends on ARM64 || COMPILE_TEST
+	depends on ARCH_VISCONTI || COMPILE_TEST
 	select PINCTRL_VISCONTI
-	default ARM64 && ARCH_VISCONTI
+	default ARCH_VISCONTI
-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ