diff options
| author | Graham Sider <[email protected]> | 2022-05-12 18:34:22 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-05-16 14:02:58 +0000 |
| commit | 04fd07397efda804977778629f5fa408dcb78369 (patch) | |
| tree | 86bcaa2b05678303cd5e548b18a7a1b179c22b9b /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | drm/amdgpu: Move mutex_init(&smu->message_lock) to smu_early_init() (diff) | |
| download | kernel-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
