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>] [day] [month] [year] [list]
Message-Id: <20250225-z2-kconfig-v1-1-a67d9b778a6c@gmail.com>
Date: Tue, 25 Feb 2025 08:48:24 +0100
From: Sasha Finkelstein via B4 Relay <devnull+fnkl.kernel.gmail.com@...nel.org>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: linux-input@...r.kernel.org, linux-kernel@...r.kernel.org, 
 asahi@...ts.linux.dev, Sasha Finkelstein <fnkl.kernel@...il.com>
Subject: [PATCH] input: apple_z2: Fix potential confusion in KConfig

From: Sasha Finkelstein <fnkl.kernel@...il.com>

Add a dependency on ARCH_APPLE and clarify the description to make it more
obvious that this is for ARM machines, not x86 ones

Signed-off-by: Sasha Finkelstein <fnkl.kernel@...il.com>
---
 drivers/input/touchscreen/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index 6c885cc58f323b3628538d41460248f8ab1dbf7d..91a2b584dab1469a3c907c0f1accfa10c4c4a3ca 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -106,9 +106,9 @@ config TOUCHSCREEN_ADC
 config TOUCHSCREEN_APPLE_Z2
 	tristate "Apple Z2 touchscreens"
 	default ARCH_APPLE
-	depends on SPI
+	depends on SPI && (ARCH_APPLE || COMPILE_TEST)
 	help
-	  Say Y here if you have an Apple device with
+	  Say Y here if you have an ARM Apple device with
 	  a touchscreen or a touchbar.
 
 	  If unsure, say N.

---
base-commit: 9995b98a4b2a704fa6744d2bee9c5d50b2c33836
change-id: 20250225-z2-kconfig-6f7a47fbbd7c



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ