diff options
| author | Dan Carpenter <[email protected]> | 2011-02-07 20:25:19 +0300 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2011-02-07 18:30:10 +0100 |
| commit | 8121d91c02a1be4884821599472acf405efdc3de (patch) | |
| tree | b256c95edfa535ab4d33dc8411a332334f2b5df4 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | ea18e137baf3e3e9212bfd7b071555fc712159b5 (diff) | |
ALSA: USB: 6fire: signedness bug in usb6fire_pcm_prepare()
rt->rate is an unsigned char so it's never equal to -1. It's not a huge
problem because the invalid rate is caught inside the call to
usb6fire_pcm_set_rate() which returns -EINVAL. But if we fix the test
then it prints out the correct error message so that's good.
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions