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: <20250618072845.233204-1-dongfengweixiao@gmail.com>
Date: Wed, 18 Jun 2025 15:28:45 +0800
From: dongfengweixiao@...il.com
To: jdelvare@...e.com,
	linux@...ck-us.ne
Cc: linux-hwmon@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	"Dee.H.Y" <dongfengweixiao@...il.com>
Subject: [PATCH] hwmon: (corsair-cpro) Change dependency from HID to HIDRAW

From: "Dee.H.Y" <dongfengweixiao@...il.com>

This patch updates the dependency of the CORSAIR_CPRO driver in the
hwmon subsystem. Previously, the driver relied on HID, but now it
depends on HIDRAW. This change is aligned with the implementation
in the `ccp_probe()` function, where `HID_CONNECT_HIDRAW` is used,
indicating that the HID raw interface is required for proper operation.

Signed-off-by: Dee.H.Y <dongfengweixiao@...il.com>
---
 drivers/hwmon/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index 08a3c863f80a..3f128cacb486 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -475,7 +475,7 @@ config SENSORS_CHIPCAP2
 
 config SENSORS_CORSAIR_CPRO
 	tristate "Corsair Commander Pro controller"
-	depends on HID
+	depends on HIDRAW
 	help
 	  If you say yes here you get support for the Corsair Commander Pro
 	  controller.
-- 
2.49.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ