提交 4e595c0d 编写于 作者: S Sachin Kamat 提交者: Greg Kroah-Hartman

Staging: speakup: Fix return value in synth.c

The function return type is a pointer. Hence return NULL instead
of 0.
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
Acked-by: NSamuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 15ab600c
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册