aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorKaike Wan <[email protected]>2018-05-31 11:30:17 -0700
committerJason Gunthorpe <[email protected]>2018-06-04 13:33:16 -0600
commitf9458bc2c1303bcbd02645de0d59e4b0210c669a (patch)
tree124b19317d8046fe398338455f6b5f97aa076030 /lib/memory-notifier-error-inject.c
parent1bc0299d976e000ececc6acd76e33b4582646cb7 (diff)
IB/hfi1: Ensure VL index is within bounds
Improve the safety of the code and ensure the array cannot be indexed out of bounds when picking the CPU for a given SDMA engine. Reviewed-by: Mike Marciniszyn <[email protected]> Signed-off-by: Dennis Dalessandro <[email protected]> Signed-off-by: Kaike Wan <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions