diff options
author | 2022-05-12 14:34:22 -0400 | |
---|---|---|
committer | 2022-05-16 10:02:58 -0400 | |
commit | 04fd07397efda804977778629f5fa408dcb78369 (patch) | |
tree | 86bcaa2b05678303cd5e548b18a7a1b179c22b9b /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | drm/amdgpu: Move mutex_init(&smu->message_lock) to smu_early_init() (diff) | |
download | linux-dev-04fd07397efda804977778629f5fa408dcb78369.tar.xz linux-dev-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 <dan.carpenter@oracle.com>
Signed-off-by: Graham Sider <Graham.Sider@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions