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]
Message-Id: <20211203185928.821497-1-arnd@kernel.org>
Date:   Fri,  3 Dec 2021 19:59:01 +0100
From:   Arnd Bergmann <arnd@...nel.org>
To:     Jiri Kosina <jikos@...nel.org>
Cc:     Arnd Bergmann <arnd@...db.de>,
        Benjamin Tissoires <benjamin.tissoires@...hat.com>,
        "Daniel J. Ogorchock" <djogorchock@...il.com>,
        Barnabás Pőcze <pobrn@...tonmail.com>,
        Roderick Colenbrander <roderick.colenbrander@...y.com>,
        linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] HID: prodikeys: add USB_HID dependency

From: Arnd Bergmann <arnd@...db.de>

Like with the other drivers that recently got fixed, this one
fails to link if USB_HID is disabled or unreachable:

ERROR: modpost: "usb_hid_driver" [drivers/hid/hid-prodikeys.ko] undefined!

Fixes: f237d9028f84 ("HID: add USB_HID dependancy on some USB HID drivers")
Signed-off-by: Arnd Bergmann <arnd@...db.de>
---
 drivers/hid/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 74ce789f8636..48d18559670f 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -246,7 +246,7 @@ config HID_MACALLY
 
 config HID_PRODIKEYS
 	tristate "Prodikeys PC-MIDI Keyboard support"
-	depends on HID && SND
+	depends on USB_HID && SND
 	select SND_RAWMIDI
 	help
 	Support for Prodikeys PC-MIDI Keyboard device support.
-- 
2.29.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ