[alsa-devel] [PATCH] ASoC: rsnd: fix usrcnt decrementing bug
Kuninori Morimoto
kuninori.morimoto.gx at renesas.com
Thu Dec 24 07:14:22 CET 2015
Hi Andrzej
> >> Field usrcnt is unsigned so it cannot be lesser than zero.
> >>
> >> The problem has been detected using proposed semantic patch
> >> scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1].
> >>
> >> [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576
> >>
> >> Signed-off-by: Andrzej Hajda <a.hajda at samsung.com>
> >> ---
> > Thank you for your patch. good catch !
> > I noticed current error case is not good for ssi.c
> > Can you agree below ?
> Yes, of course.
Thanks.
Who send this patch ? you or me ?
I think you can do it ?
More information about the Alsa-devel
mailing list