Thread (2 messages) 2 messages, 2 authors, 2021-03-08

Re: [PATCH] HID: hiddev: Return specific error codes on connect failure

From: Jiri Kosina <jikos@kernel.org>
Date: 2021-03-08 10:14:19

On Thu, 11 Feb 2021, Jason Gerecke wrote:
The only caller of this function only cares about gross success/failure
but we still might as well resolve the following smatch warning and fix
the other error paths as well:

    hiddev.c:894 hiddev_connect() warn: returning -1 instead of -ENOMEM is sloppy

Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Applied, thank you Jason.

-- 
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