[PATCH v2 2/4] staging: speakup: use native error codes

Samuel Thibault samuel.thibault at ens-lyon.org
Fri Mar 29 00:34:48 UTC 2013


Andy Shevchenko, le Thu 28 Mar 2013 11:02:44 +0200, a écrit :
> The mapping as follows:
> 	E_RANGE		-> ERANGE
> 	E_UNDEF		-> ENODATA
> 	E_TOOLONG	-> E2BIG
> 	SET_DEFAULT	-> ERESTART
> 
> As a side effect it fixes a bug in spk_var_store() where return code was
> mistakenly compared to negative value instead of positive.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>

Acked-by: Samuel Thibault <samuel.thibault at ens-lyon.org>



More information about the devel mailing list