[PATCH-SPEAKUP 1/2] return same error value from spk_set_key_info
Greg KH
gregkh at linuxfoundation.org
Fri Feb 24 17:32:53 UTC 2017
On Wed, Feb 22, 2017 at 12:50:26PM +0530, Pranay Kr. Srivastava wrote:
> This patch makes spk_set_key_info return -EINVAL
> in case of failure instead of returning 4 different
> values for the type of error that occurred.
>
> Print the offending values instead as debug message.
>
> Signed-off-by: Pranay Kr. Srivastava <pranjas at gmail.com>
> ---
> drivers/staging/speakup/main.c | 27 +++++++++++++++++++--------
> 1 file changed, 19 insertions(+), 8 deletions(-)
Please fix the build errors and resend this series.
thanks,
greg k-h
More information about the devel
mailing list