Re: [PATCH -next] drm/amd/display: Fix possible memleak in dp_trigger_hotplug()

2020-09-15 Thread Alex Deucher
Applied. Thanks, Alex On Thu, Sep 10, 2020 at 11:34 AM Harry Wentland wrote: > > On 2020-09-09 11:26 p.m., YueHaibing wrote: > > If parse_write_buffer_into_params() fails, we should free > > wr_buf before return. > > > > Fixes: 6f77b2ac6280 ("drm/amd/display: Add connector HPD trigger debugfs

Re: [PATCH -next] drm/amd/display: Fix possible memleak in dp_trigger_hotplug()

2020-09-10 Thread Harry Wentland
On 2020-09-09 11:26 p.m., YueHaibing wrote: If parse_write_buffer_into_params() fails, we should free wr_buf before return. Fixes: 6f77b2ac6280 ("drm/amd/display: Add connector HPD trigger debugfs entry") Signed-off-by: YueHaibing Reviewed-by: Harry Wentland Harry ---

[PATCH -next] drm/amd/display: Fix possible memleak in dp_trigger_hotplug()

2020-09-09 Thread YueHaibing
If parse_write_buffer_into_params() fails, we should free wr_buf before return. Fixes: 6f77b2ac6280 ("drm/amd/display: Add connector HPD trigger debugfs entry") Signed-off-by: YueHaibing --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 4 +++- 1 file changed, 3 insertions(+), 1