Re: [PATCH] drm/amd/pm: Fix a memory leak on an error path

2023-10-10 Thread Alex Deucher
.@lists.freedesktop.org; evan.q...@amd.com; > kunwu.c...@hotmail.com; linux-ker...@vger.kernel.org > Subject: [PATCH] drm/amd/pm: Fix a memory leak on an error path > > Add missing free on an error path. > > Fixes: 511a95552ec8 ("drm/amd/pm: Add SMU 13.0.6 suppo

[PATCH] drm/amd/pm: Fix a memory leak on an error path

2023-10-10 Thread Kunwu.Chan
Add missing free on an error path. Signed-off-by: Kunwu.Chan --- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c

[PATCH] drm/amd/pm: Fix a memory leak on an error path

2023-10-10 Thread Kunwu.Chan
Add missing free on an error path. Fixes: 511a95552ec8 ("drm/amd/pm: Add SMU 13.0.6 support") Signed-off-by: Kunwu.Chan --- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

RE: [PATCH] drm/amd/pm: Fix a memory leak on an error path

2023-10-10 Thread Wang, Yang(Kevin)
, Xinhui ; airl...@gmail.com; amd-gfx@lists.freedesktop.org; chen...@kylinos.cn; dan.carpen...@linaro.org; dan...@ffwll.ch; dri-de...@lists.freedesktop.org; evan.q...@amd.com; kunwu.c...@hotmail.com; linux-ker...@vger.kernel.org Subject: [PATCH] drm/amd/pm: Fix a memory leak on an error path Add

RE: [PATCH] drm/amd/pm: Fix a memory leak on an error path

2023-10-09 Thread Wang, Yang(Kevin)
otmail.com; Kunwu.Chan Subject: [PATCH] drm/amd/pm: Fix a memory leak on an error path Add missing free on an error path. Signed-off-by: Kunwu.Chan --- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/am