diff options
| author | Michael J. Ruhl <michael.j.ruhl@intel.com> | 2017-03-21 03:26:07 +0300 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2017-04-05 21:45:09 +0300 |
| commit | f7b42633720deb5ca8f4bcb175c7dc2933057e7f (patch) | |
| tree | 0aaef7407cd748137f51988caf243a9b58c62a08 /include/linux/errqueue.h | |
| parent | 44dcfa4b182dffed0e1e6535220fcdd12620b9ec (diff) | |
| download | linux-f7b42633720deb5ca8f4bcb175c7dc2933057e7f.tar.xz | |
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: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
