Sachin Kamat, le Mon 13 May 2013 15:30:41 +0530, a écrit : > The function returns a pointer. Hence return NULL instead of 0. > > Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx> Acked-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> > --- > drivers/staging/speakup/speakup_decpc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/speakup/speakup_decpc.c b/drivers/staging/speakup/speakup_decpc.c > index 6c88b55..e6de0d0 100644 > --- a/drivers/staging/speakup/speakup_decpc.c > +++ b/drivers/staging/speakup/speakup_decpc.c > @@ -444,7 +444,7 @@ static const char *synth_immediate(struct spk_synth *synth, const char *buf) > return buf; > buf++; > } > - return 0; > + return NULL; > } > > static int synth_probe(struct spk_synth *synth) > -- > 1.7.9.5 > -- Samuel jr> J'ai fait. Ne bougez pas, l'aide soignante va venir nettoyer. -+- FF in GNU - Le vieil homme et la merde -+- _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel