Mike Marciniszyn 5d7fe4efbf 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 <dan.carpenter@oracle.com>
Reviewed-by: Ramkrishna Vepa <ramkrishna.vepa@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2012-07-29 20:26:10 -07:00
..
2011-05-20 11:46:11 -07:00
2012-07-19 11:20:04 -07:00
2012-07-19 11:20:04 -07:00
2012-07-19 11:20:04 -07:00
2012-07-19 11:20:04 -07:00
2012-07-19 11:20:04 -07:00
2012-07-19 11:20:04 -07:00
2012-07-19 11:20:04 -07:00
2012-07-19 11:20:04 -07:00
2012-07-19 11:20:04 -07:00
2012-07-19 11:20:04 -07:00
2012-07-08 18:05:19 -07:00
2012-07-19 11:20:04 -07:00
2012-07-17 10:18:37 -07:00
2012-07-19 11:20:04 -07:00
2012-07-19 11:20:04 -07:00
2011-10-13 09:13:26 -07:00
2012-07-19 11:20:04 -07:00
2012-07-19 11:20:04 -07:00
2011-03-31 11:26:23 -03:00
2012-07-19 11:20:04 -07:00