From: Torsten Schenk Date: Thu, 16 Jun 2011 19:06:27 +0000 (+0200) Subject: ALSA: 6fire - Fix signedness bug X-Git-Tag: v3.0-rc4~18^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ec5258d68c626922d92e2f0e4e5c689e5360a5d;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed