summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-06-14 22:36:09 +0400
committerRoland Dreier <roland@purestorage.com>2012-06-15 00:30:41 +0400
commit7b33dc2b050b71de0e202885a26caffbc864d072 (patch)
tree753427658579c7865dd3b62efce7c9e1dafc7cee /tools/perf/util/scripting-engines/trace-event-python.c
parenta3698a9b919d2a54e3348be48ab65d102b2f105d (diff)
downloadlinux-7b33dc2b050b71de0e202885a26caffbc864d072.tar.xz
RDMA/ocrdma: Fix off by one in ocrdma_query_gid()
The dev->sgid_tbl[] array is allocated in ocrdma_alloc_resources(). It has OCRDMA_MAX_SGID elements so the test here is off by one. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions