diff options
author | Mario Limonciello <[email protected]> | 2023-01-12 16:37:01 -0600 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-01-13 14:58:04 -0500 |
commit | 2b89da46a77d2929c1b00af5eb6a07f3d95a931c (patch) | |
tree | e3c9afeba0f7f80972ddb3d6ba195ff40c5884c9 /tools/perf/scripts/python/libxed.py | |
parent | d144b40a4833db01712f887ff31388a37ec51926 (diff) |
drm/amd: fix some dead code in `gfx_v9_0_init_cp_compute_microcode`
Some dead code was introduced as part of utilizing the `amdgpu_ucode_*`
helpers. Adjust the control flow to make sure that firmware is released
in the appropriate error flows.
Reported-by: coverity-bot <[email protected]>
Addresses-Coverity-ID: 1530548 ("Control flow issues")
Fixes: ec787deb2ddf ("drm/amd: Use `amdgpu_ucode_*` helpers for GFX9")
Signed-off-by: Mario Limonciello <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions