summaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon/ltc4245
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-02-16 13:01:36 +0300
committerRoland Dreier <roland@purestorage.com>2015-02-18 08:31:06 -0800
commit59a39ca3f70ad2b4a5d3ee3161e112ec774a4146 (patch)
treefd19996d49c158c5dd612c9f7d000434ce8610c1 /Documentation/hwmon/ltc4245
parentf3070e7efdc37a84fa63cbe84ac4febc87440121 (diff)
downloadlinux-59a39ca3f70ad2b4a5d3ee3161e112ec774a4146.tar.bz2
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 <dan.carpenter@oracle.com> Acked-by: Selvin Xavier <selvin.xavier@emulex.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'Documentation/hwmon/ltc4245')
0 files changed, 0 insertions, 0 deletions