From 26409cda7df4c88fc91b2f4294f02ebc6a185f3c Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Tue, 14 Jun 2022 09:26:05 +0000 Subject: [PATCH] HID: add USB_HID dependancy to hid-chicony stable inclusion from linux-4.19.221 commit de8ac0cf03f1124ef39debb337811e54f3e2f55c category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/I5BTIG CVE: CVE-2022-20132 -------------------------------- commit d080811f27936f712f619f847389f403ac873b8f upstream. The chicony HID driver only controls USB devices, yet did not have a dependancy on USB_HID. This causes build errors on some configurations like sparc when building due to new changes to the chicony driver. Reported-by: Stephen Rothwell Cc: stable@vger.kernel.org Cc: Jiri Kosina Cc: Benjamin Tissoires Signed-off-by: Greg Kroah-Hartman Signed-off-by: Benjamin Tissoires Link: https://lore.kernel.org/r/20211203075927.2829218-1-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman Signed-off-by: Rui Xiang Reviewed-by: Zhang Xiaoxu Reviewed-by: Xiu Jianfeng Signed-off-by: Yongqiang Liu --- drivers/hid/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 8f69991bdb30..d861dc8e6d02 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -191,7 +191,7 @@ config HID_CHERRY config HID_CHICONY tristate "Chicony devices" - depends on HID + depends on USB_HID default !EXPERT ---help--- Support for Chicony Tactical pad and special keys on Chicony keyboards. -- GitLab