Thread (3 messages) 3 messages, 3 authors, 2013-12-18

Re: [PATCH -next] Input: zforce - fix error return code in zforce_start()

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2013-12-18 16:50:52

On Tue, Dec 17, 2013 at 04:06:49PM +0100, Heiko Stübner wrote:
Am Dienstag, 17. Dezember 2013, 04:27:16 schrieb Wei Yongjun:
quoted
From: Wei Yongjun <redacted>

The error code was not set if unable to set config, so the error
condition wasn't reflected in the return value. Fix to return a
negative error code from the error handling case instead of 0.

Signed-off-by: Wei Yongjun <redacted>
Thanks for the catch.

Acked-by: Heiko Stuebner <heiko@sntech.de>
Applied, thank you.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help