aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2010-03-03 07:13:49 +0000
committerTakashi Iwai <[email protected]>2010-03-03 21:41:42 +0000
commit282572b5ab99cf27073210ca60b80dd085e1a469 (patch)
tree223db4faabe0ea81bb99aa9458a5b2626798fa08 /lib/debugobjects.c
parentALSA: usbaudio - remove debug "SAMPLE BYTES" printk line (diff)
downloadkernel-282572b5ab99cf27073210ca60b80dd085e1a469.tar.gz
kernel-282572b5ab99cf27073210ca60b80dd085e1a469.zip
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 <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions