aboutsummaryrefslogtreecommitdiffstats
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2015-02-16 10:01:36 +0000
committerRoland Dreier <[email protected]>2015-02-18 16:31:06 +0000
commit59a39ca3f70ad2b4a5d3ee3161e112ec774a4146 (patch)
treefd19996d49c158c5dd612c9f7d000434ce8610c1 /lib/timerqueue.c
parentRDMA/ocrdma: Use unsigned for bit index (diff)
downloadkernel-59a39ca3f70ad2b4a5d3ee3161e112ec774a4146.tar.gz
kernel-59a39ca3f70ad2b4a5d3ee3161e112ec774a4146.zip
RDMA/ocrdma: Fix off by one in ocrdma_query_gid()
The ->sgid_tbl[] array has OCRDMA_MAX_SGID number of elements so this test is off by one. ->sgid_tbl is allocated in ocrdma_alloc_resources(). Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Selvin Xavier <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions