kernel-ark/drivers/infiniband/hw/qib
Mike Marciniszyn 5d7fe4efbf IB/qib: Fix size of cc_supported_table_entries
Commit 36a8f01cd2 ("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
..
Kconfig
Makefile
qib_6120_regs.h
qib_7220_regs.h
qib_7220.h
qib_7322_regs.h
qib_common.h
qib_cq.c
qib_diag.c IB/qib: checkpatch fixes 2012-07-19 11:20:04 -07:00
qib_dma.c
qib_driver.c IB/qib: checkpatch fixes 2012-07-19 11:20:04 -07:00
qib_eeprom.c IB/qib: checkpatch fixes 2012-07-19 11:20:04 -07:00
qib_file_ops.c IB/qib: checkpatch fixes 2012-07-19 11:20:04 -07:00
qib_fs.c IB/qib: checkpatch fixes 2012-07-19 11:20:04 -07:00
qib_iba6120.c IB/qib: checkpatch fixes 2012-07-19 11:20:04 -07:00
qib_iba7220.c IB/qib: checkpatch fixes 2012-07-19 11:20:04 -07:00
qib_iba7322.c IB/qib: checkpatch fixes 2012-07-19 11:20:04 -07:00
qib_init.c IB/qib: checkpatch fixes 2012-07-19 11:20:04 -07:00
qib_intr.c IB/qib: checkpatch fixes 2012-07-19 11:20:04 -07:00
qib_keys.c IB/qib: Fix sparse RCU warnings in qib_keys.c 2012-07-10 10:01:56 -07:00
qib_mad.c IB/qib: Add congestion control agent implementation 2012-07-19 11:20:04 -07:00
qib_mad.h IB/qib: Add congestion control agent implementation 2012-07-19 11:20:04 -07:00
qib_mmap.c
qib_mr.c IB/qib: RCU locking for MR validation 2012-07-08 18:05:19 -07:00
qib_pcie.c IB/qib: checkpatch fixes 2012-07-19 11:20:04 -07:00
qib_pio_copy.c
qib_qp.c IB/qib: Fix QP RCU sparse warnings 2012-07-17 10:18:37 -07:00
qib_qsfp.c
qib_qsfp.h
qib_rc.c IB/qib: Avoid returning EBUSY from MR deregister 2012-07-08 18:05:19 -07:00
qib_ruc.c IB/qib: Avoid returning EBUSY from MR deregister 2012-07-08 18:05:19 -07:00
qib_sd7220.c IB/qib: checkpatch fixes 2012-07-19 11:20:04 -07:00
qib_sdma.c IB/qib: checkpatch fixes 2012-07-19 11:20:04 -07:00
qib_srq.c
qib_sysfs.c IB/qib: checkpatch fixes 2012-07-19 11:20:04 -07:00
qib_twsi.c IB/qib: checkpatch fixes 2012-07-19 11:20:04 -07:00
qib_tx.c
qib_uc.c IB/qib: Avoid returning EBUSY from MR deregister 2012-07-08 18:05:19 -07:00
qib_ud.c IB/qib: Avoid returning EBUSY from MR deregister 2012-07-08 18:05:19 -07:00
qib_user_pages.c
qib_user_sdma.c
qib_user_sdma.h
qib_verbs_mcast.c
qib_verbs.c IB/qib: Reduce sdma_lock contention 2012-07-19 11:19:58 -07:00
qib_verbs.h IB/qib: Reduce sdma_lock contention 2012-07-19 11:19:58 -07:00
qib_wc_ppc64.c
qib_wc_x86_64.c IB/qib: checkpatch fixes 2012-07-19 11:20:04 -07:00
qib.h IB/qib: Fix size of cc_supported_table_entries 2012-07-29 20:26:10 -07:00