Thread (2 messages) 2 messages, 2 authors, 2021-06-24

Re: [PATCH] HID: usbhid: hid-pidff: Fix missing error code in hid_pidff_init()

From: Jiri Kosina <jikos@kernel.org>
Date: 2021-06-24 12:05:37
Also in: linux-usb, lkml

On Tue, 1 Jun 2021, Jiapeng Chong wrote:
The error code is missing in this code scenario, add the error code
'-EINVAL' to the return value 'error'.

Eliminate the follow smatch warning:

drivers/hid/usbhid/hid-pidff.c:1297 hid_pidff_init() warn: missing error
code 'error'.

Reported-by: Abaci Robot <redacted>
Signed-off-by: Jiapeng Chong <redacted>
This has already been fixed in hid.git via 3dd653c077efd.

Thanks,

-- 
Jiri Kosina
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help