diff options
author | Evan Quan <evan.quan@amd.com> | 2018-05-29 11:31:05 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-06-13 21:45:24 +0300 |
commit | cb5ed37f1f9976a5f9d5f677ac9423642e30d10f (patch) | |
tree | a77c32929aa5e512e3237877c199693c22a12f7e /drivers/gpu/drm/amd/powerplay/amd_powerplay.c | |
parent | b0f6b8090e05a24263207a399b6c48a94034f1e8 (diff) | |
download | linux-cb5ed37f1f9976a5f9d5f677ac9423642e30d10f.tar.xz |
drm/amdgpu: fix parsing indirect register list v2
WARN_ON possible buffer overflow and avoid unnecessary dereference.
v2: change BUG_ON to WARN_ON
Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/amd_powerplay.c')
0 files changed, 0 insertions, 0 deletions