]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/pm: fix null pointer dereference issue in smu_v15_0_8_get_power_limit()
authorYang Wang <kevinyang.wang@amd.com>
Tue, 31 Mar 2026 02:23:06 +0000 (22:23 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Apr 2026 17:53:09 +0000 (13:53 -0400)
commit95e21dff4717c0525f80c225884ddc391911b1c3
tree14c1127bc8b687e87f7a68d1623cca9d0076527e
parent592713a8960ed661bd9fcb7c256921c53eadeb49
drm/amd/pm: fix null pointer dereference issue in smu_v15_0_8_get_power_limit()

Fix null pointer issues caused by coding errors

Fixes: e20e47bcb3f1 ("drm/amd/pm: add set{get}_power_limit support for smu 15.0.8")
Signed-off-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu15/smu_v15_0_8_ppt.c