Sachin Kamat, le Mon 13 May 2013 16:08:55 +0530, a écrit :
> The function return type is a pointer. Hence return NULL instead
> of 0.
> 
> Signed-off-by: Sachin Kamat <[email protected]>

Acked-by: Samuel Thibault <[email protected]>

> ---
>  drivers/staging/speakup/synth.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/speakup/synth.c b/drivers/staging/speakup/synth.c
> index d867dd9..bd775db 100644
> --- a/drivers/staging/speakup/synth.c
> +++ b/drivers/staging/speakup/synth.c
> @@ -145,7 +145,7 @@ const char *spk_synth_immediate(struct spk_synth *synth, 
> const char *buff)
>                       return buff;
>               buff++;
>       }
> -     return 0;
> +     return NULL;
>  }
>  EXPORT_SYMBOL_GPL(spk_synth_immediate);
>  
> -- 
> 1.7.9.5
> 

-- 
Samuel
<y> muhahaha...
<y> ya un train qui part de Perrache à 14h57
<y> qui passe à Part-Dieu à 15h10
<y> si je le prend à Perrache, je suis en zone bleue
<y> si je le prends à Part-Dieu, je suis en zone blanche
<y> donc je vais le prendre à Perrache *mais* à Part-Dieu ;-)
 -+- #ens-mim - vive la SNCF -+-
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to