diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2024-10-24 11:17:16 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-10-24 18:07:10 -0400 |
commit | dac64cb3e029e9ae9ca251798bcb9cdb118d68d5 (patch) | |
tree | 7d679fd89460ebd2897dae3e5ef755a6d2539526 /kernel/panic.c | |
parent | 4c5d0fc5c81eaff6647b913fdde13f9c279613f2 (diff) |
drm/amdgpu: Fix amdgpu_ip_block_hw_fini()
This NULL check is reversed so the function doesn't work.
Fixes: dad01f93f432 ("drm/amdgpu: validate hw_fini before function call")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/f4fc849e-4e76-4448-8657-caa4c69910b0@stanley.mountain
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'kernel/panic.c')
0 files changed, 0 insertions, 0 deletions