From 4e595c0d23ff7bf3ae738c3ed563162fcc20678e Mon Sep 17 00:00:00 2001 From: Sachin Kamat Date: Mon, 13 May 2013 16:08:55 +0530 Subject: [PATCH] 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 --- 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 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); -- 2.20.1