From: Dan Carpenter Date: Mon, 17 Oct 2011 07:28:23 +0000 (+0300) Subject: ath9k_hw: min_t() casts u32 to int X-Git-Tag: v3.3-rc1~182^2~545^2~184 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48ef5c427ac2cfd12c150b38263d3ebb0d989647;p=pandora-kernel.git ath9k_hw: min_t() casts u32 to int The code here treats very large values of "limit" as less than MAX_POWER_RATE because of the cast to int. We should do the compare as u32 instead. Signed-off-by: Dan Carpenter Reviewed-by: Pavel Roskin Signed-off-by: John W. Linville --- Reading git-diff-tree failed