From: Sachin Kamat Date: Mon, 13 May 2013 10:38:55 +0000 (+0530) Subject: Staging: speakup: Fix return value in synth.c X-Git-Tag: next-20130521~23^2~123 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4e595c0d23ff7bf3ae738c3ed563162fcc20678e;p=karo-tx-linux.git Staging: speakup: Fix return value in synth.c The function return type is a pointer. Hence return NULL instead of 0. Signed-off-by: Sachin Kamat Acked-by: Samuel Thibault Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/speakup/synth.c b/drivers/staging/speakup/synth.c index e2d84c090d64..0b3549bd909d 100644 --- a/drivers/staging/speakup/synth.c +++ b/drivers/staging/speakup/synth.c @@ -157,7 +157,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);