aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2012-06-14 18:36:09 +0000
committerRoland Dreier <[email protected]>2012-06-14 20:30:41 +0000
commit7b33dc2b050b71de0e202885a26caffbc864d072 (patch)
tree753427658579c7865dd3b62efce7c9e1dafc7cee /arch/powerpc/lib/code-patching.c
parentRDMA/ocrdma: Fixed RQ error CQE polling (diff)
downloadkernel-7b33dc2b050b71de0e202885a26caffbc864d072.tar.gz
kernel-7b33dc2b050b71de0e202885a26caffbc864d072.zip
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 <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions