From: Mike Marciniszyn Date: Mon, 23 Jul 2012 16:38:15 +0000 (+0000) Subject: IB/qib: Fix size of cc_supported_table_entries X-Git-Tag: v3.6-rc1~27^2^4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d7fe4efbf0878e0ef12c8f93e7a16c750494b7e;p=pandora-kernel.git IB/qib: Fix size of cc_supported_table_entries Commit 36a8f01cd24b ("IB/qib: Add congestion control agent implementation") tries to store the value 1984 in a u8, which leads to truncation. Fix this by making the member big enough. This bug was detected by a smatch warning. Reported-by: Dan Carpenter Reviewed-by: Ramkrishna Vepa Signed-off-by: Mike Marciniszyn Signed-off-by: Roland Dreier --- Reading git-diff-tree failed