Home
last modified time | relevance | path

Searched hist:"282572 b5ab99cf27073210ca60b80dd085e1a469" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/sound/pci/riptide/
H A Driptide.cdiff 282572b5ab99cf27073210ca60b80dd085e1a469 Wed Mar 03 01:13:49 CST 2010 Dan Carpenter <error27@gmail.com> 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>