linux_old1/sound/pci/riptide
Dan Carpenter 282572b5ab ALSA: riptide: clean up while loop
If getpaths() returned an odd number this would be a buffer under-run and an
endless loop.  It turns out that getpaths() can only return even numbers, but
let's make it easy for people auditing code.  With the new code you don't
need to look at getpaths().

This silences a smatch warning.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2010-03-03 22:41:42 +01:00
..
Makefile [ALSA] Add snd-riptide driver for Conexant Riptide chip 2006-03-31 17:58:57 +02:00
riptide.c ALSA: riptide: clean up while loop 2010-03-03 22:41:42 +01:00