aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorGraham Sider <[email protected]>2022-05-12 18:34:22 +0000
committerAlex Deucher <[email protected]>2022-05-16 14:02:58 +0000
commit04fd07397efda804977778629f5fa408dcb78369 (patch)
tree86bcaa2b05678303cd5e548b18a7a1b179c22b9b /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parentdrm/amdgpu: Move mutex_init(&smu->message_lock) to smu_early_init() (diff)
downloadkernel-04fd07397efda804977778629f5fa408dcb78369.tar.gz
kernel-04fd07397efda804977778629f5fa408dcb78369.zip
drm/amdkfd: Fix static checker warning on MES queue type
convert_to_mes_queue_type return can be negative, but queue_input.queue_type is uint32_t. Put return in integer var and cast to unsigned after negative check. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Graham Sider <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions