summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/amp.c
diff options
context:
space:
mode:
authorMa Jun <Jun.Ma2@amd.com>2024-01-12 13:33:24 +0800
committerAlex Deucher <alexander.deucher@amd.com>2024-01-18 16:34:45 -0500
commitbc03c02cc1991a066b23e69bbcc0f66e8f1f7453 (patch)
tree691e67a326aa3093df8623d53f919230e4207fec /net/bluetooth/amp.c
parentbfe79f5fff1300d96203383582b078c7b0aec80a (diff)
downloadlinux-stable-bc03c02cc1991a066b23e69bbcc0f66e8f1f7453.tar.gz
linux-stable-bc03c02cc1991a066b23e69bbcc0f66e8f1f7453.tar.bz2
linux-stable-bc03c02cc1991a066b23e69bbcc0f66e8f1f7453.zip
drm/amdgpu: Fix the null pointer when load rlc firmware
If the RLC firmware is invalid because of wrong header size, the pointer to the rlc firmware is released in function amdgpu_ucode_request. There will be a null pointer error in subsequent use. So skip validation to fix it. Fixes: 3da9b71563cb ("drm/amd: Use `amdgpu_ucode_*` helpers for GFX10") Signed-off-by: Ma Jun <Jun.Ma2@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'net/bluetooth/amp.c')
0 files changed, 0 insertions, 0 deletions