summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/mach-imx27_visstrim_m10.c
diff options
context:
space:
mode:
authorMike Marciniszyn <mike.marciniszyn@intel.com>2012-07-23 16:38:15 (GMT)
committerRoland Dreier <roland@purestorage.com>2012-07-30 03:26:10 (GMT)
commit5d7fe4efbf0878e0ef12c8f93e7a16c750494b7e (patch)
tree9445b1a2f734770a58db4dc1fef394c7a4f927c0 /arch/arm/mach-imx/mach-imx27_visstrim_m10.c
parent5dedb9f3bd5bcb186313ea0c0cff8f2c525d4122 (diff)
downloadlinux-fsl-qoriq-5d7fe4efbf0878e0ef12c8f93e7a16c750494b7e.tar.xz
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>
Diffstat (limited to 'arch/arm/mach-imx/mach-imx27_visstrim_m10.c')
0 files changed, 0 insertions, 0 deletions