diff options
author | Alex Deucher <[email protected]> | 2020-02-06 14:53:06 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2020-02-11 15:42:33 -0500 |
commit | e33a8cfda5198fc09554fdd77ba246de42c886bd (patch) | |
tree | 2ac0b918b73baeec6559b7a1103061915e4815fe /lib/mpi/mpiutil.c | |
parent | c1d66bc2e531b4ed3a9464b8e87144cc6b2fd63f (diff) |
drm/amdgpu:/navi10: use the ODCAP enum to index the caps array
Rather than the FEATURE_ID flags. Avoids a possible reading past
the end of the array.
Reviewed-by: Evan Quan <[email protected]>
Reported-by: Aleksandr Mezin <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected] # 5.5.x
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions