linux-stable/drivers/hid/usbhid
Zhen Lei 14e501aabe HID: pidff: fix error return code in hid_pidff_init()
[ Upstream commit 3dd653c077 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-06-10 12:43:50 +02:00
..
hid-core.c HID: usbhid: Fix race between usbhid_close() and usbhid_stop() 2020-05-20 08:16:57 +02:00
hid-pidff.c HID: pidff: fix error return code in hid_pidff_init() 2021-06-10 12:43:50 +02:00
hid-quirks.c
hiddev.c HID: hiddev: Fix slab-out-of-bounds write in hiddev_ioctl_usage() 2020-09-03 11:22:34 +02:00
Kconfig
Makefile
usbhid.h HID: usbhid: Fix race between usbhid_close() and usbhid_stop() 2020-05-20 08:16:57 +02:00
usbkbd.c
usbmouse.c