diff options
author | Lijo Lazar <lijo.lazar@amd.com> | 2025-07-18 09:25:21 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-08-04 15:47:50 -0400 |
commit | c2fe914d50ab22defca14ac6fca33888bfb19843 (patch) | |
tree | 6251552d204e67e340e5086843bebcd6633988cc /tools/testing/selftests/drivers/net/netpoll_basic.py | |
parent | 8e6a18cbf3ee2c1e3d0afd8d3debd0ba8738ad0c (diff) |
drm/amdgpu: Add NULL check for asic_funcs
If driver load fails too early, asic_funcs pointer remains unassigned.
Add NULL check to sanitize unwind path.
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 582bf7c5158dce16f7dc5b8345b7876bd8031224)
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/testing/selftests/drivers/net/netpoll_basic.py')
0 files changed, 0 insertions, 0 deletions