linux/drivers/hid/usbhid
Zhen Lei 3dd653c077 HID: pidff: fix error return code in hid_pidff_init()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Fixes: 224ee88fe3 ("Input: add force feedback driver for PID devices")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2021-05-27 15:40:34 +02:00
..
hid-core.c HID: usbhid: fix info leak in hid_submit_ctrl 2021-05-05 15:52:34 +02:00
hid-pidff.c HID: pidff: fix error return code in hid_pidff_init() 2021-05-27 15:40:34 +02:00
hiddev.c HID: hiddev: Return specific error codes on connect failure 2021-03-08 11:12:22 +01:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile HID: core: move the dynamic quirks handling in core 2017-11-21 11:14:48 +01:00
usbhid.h Revert "HID: usbhid: do not sleep when opening device" 2020-08-18 19:54:04 +02:00
usbkbd.c HID: usbhid: Repair a formatting issue in a struct description 2021-04-07 18:46:20 +02:00
usbmouse.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00