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:   Fri, 13 May 2022 09:32:21 +0200
From:   Florian Eckert <fe@....tdt.de>
To:     linux@...ck-us.net
Cc:     jdelvare@...e.com, linux-hwmon@...r.kernel.org,
        linux-kernel@...r.kernel.org, Eckert.Florian@...glemail.com,
        kernel testrobot <lkp@...el.com>
Subject: [PATCH] hwmon: (ltq-cputemp) restrict build to SOC_XWAY

This driver can only be built if the target is set to SOC_XWAY, because
only then the used macros 'ltq_cgu_*'  are available.

To clarify this, the Kconfig is adjusted so that the driver can only be
selected when the SOC_XWAY is also selected.

Reported-by: kernel testrobot <lkp@...el.com>
Signed-off-by: Florian Eckert <fe@....tdt.de>
---

This is a fix for an issue, that was reported by the 'kernel testrobot'.

 drivers/hwmon/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index 68a8a27ab3b7..1122c0519410 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -960,7 +960,7 @@ config SENSORS_LTC4261
 
 config SENSORS_LTQ_CPUTEMP
 	bool "Lantiq cpu temperature sensor driver"
-	depends on LANTIQ
+	depends on LANTIQ && SOC_XWAY
 	help
 	  If you say yes here you get support for the temperature
 	  sensor inside your CPU.
-- 
2.30.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ