mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
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]>