diff options
| author | Timur Tabi <[email protected]> | 2025-08-13 00:10:02 +0000 |
|---|---|---|
| committer | Danilo Krummrich <[email protected]> | 2025-08-25 16:09:29 +0000 |
| commit | 66e82b6e0a28d4970383e1ee5d60f431001128cd (patch) | |
| tree | 824c0c3b4fbb420ca3b56adc64a6714435aaf438 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | drm/nouveau/disp: Always accept linear modifier (diff) | |
| download | kernel-66e82b6e0a28d4970383e1ee5d60f431001128cd.tar.gz kernel-66e82b6e0a28d4970383e1ee5d60f431001128cd.zip | |
drm/nouveau: fix error path in nvkm_gsp_fwsec_v2
Function nvkm_gsp_fwsec_v2() sets 'ret' if the kmemdup() call fails, but
it never uses or returns 'ret' after that point. We always need to release
the firmware regardless, so do that and then check for error.
Fixes: 176fdcbddfd2 ("drm/nouveau/gsp/r535: add support for booting GSP-RM")
Cc: [email protected] # v6.7+
Signed-off-by: Timur Tabi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
