RE: [PATCH v3] drm/amd/pm: Fix the null pointer dereference for vega10_hwmgr

2024-05-31 Thread Huang, Tim
t: [PATCH v3] drm/amd/pm: Fix the null pointer dereference for > vega10_hwmgr > > Check return value and conduct null pointer handling to avoid null pointer > dereference. > > Signed-off-by: Bob Zhou > --- > .../drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c | 29 > +++

[PATCH v3] drm/amd/pm: Fix the null pointer dereference for vega10_hwmgr

2024-05-31 Thread Bob Zhou
Check return value and conduct null pointer handling to avoid null pointer dereference. Signed-off-by: Bob Zhou --- .../drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c | 29 --- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega1