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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>


[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux