summaryrefslogtreecommitdiff
path: root/sound/sh
diff options
context:
space:
mode:
authorTorsten Schenk <torsten.schenk@zoho.com>2011-06-16 23:06:27 +0400
committerTakashi Iwai <tiwai@suse.de>2011-06-16 23:31:33 +0400
commit0ec5258d68c626922d92e2f0e4e5c689e5360a5d (patch)
tree0e8a2450585f5602f0b1f1c66131e9830f3fc730 /sound/sh
parente72888e91cc902ccdc089f237b6eed7587e2b4df (diff)
downloadlinux-0ec5258d68c626922d92e2f0e4e5c689e5360a5d.tar.xz
ALSA: 6fire - Fix signedness bug
Fixed remaining issues of the signedness bug discovered by Dan Carpenter. A check was remaining that tests if unsigned rt->rate is >= 0. Changed that so that rt->rate now consistently uses ARRAY_SIZE(rates) as invalid rate value and not -1. Signed-off-by: Torsten Schenk <torsten.schenk@zoho.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/sh')
0 files changed, 0 insertions, 0 deletions