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

2013-12-18 Thread Dmitry Torokhov
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: From: Wei Yongjun yongjun_...@trendmicro.com.cn The error code was not set if unable to set config, so the error condition wasn't reflected in the return value.

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

2013-12-17 Thread Heiko Stübner
Am Dienstag, 17. Dezember 2013, 04:27:16 schrieb Wei Yongjun: From: Wei Yongjun yongjun_...@trendmicro.com.cn 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

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

2013-12-16 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn 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 yongjun_...@trendmicro.com.cn