Re: [PATCH v2 1/6] drm/tegra: Fix a device_node leak when the DRM panel is not found

2018-05-04 Thread Boris Brezillon
On Fri, 4 May 2018 11:50:16 +0200 Thierry Reding wrote: > On Thu, May 03, 2018 at 06:40:04PM +0200, Boris Brezillon wrote: > > of_node_put(panel) is not called when of_drm_find_panel(panel) returns > > NULL, thus leaking the reference we hold on panel. > > > > Fixes: 9be7d864cf07 ("drm/tegra: Im

Re: [PATCH v2 1/6] drm/tegra: Fix a device_node leak when the DRM panel is not found

2018-05-04 Thread Thierry Reding
On Fri, May 04, 2018 at 11:50:16AM +0200, Thierry Reding wrote: > On Thu, May 03, 2018 at 06:40:04PM +0200, Boris Brezillon wrote: > > of_node_put(panel) is not called when of_drm_find_panel(panel) returns > > NULL, thus leaking the reference we hold on panel. > > > > Fixes: 9be7d864cf07 ("drm/teg

Re: [PATCH v2 1/6] drm/tegra: Fix a device_node leak when the DRM panel is not found

2018-05-04 Thread Thierry Reding
On Thu, May 03, 2018 at 06:40:04PM +0200, Boris Brezillon wrote: > of_node_put(panel) is not called when of_drm_find_panel(panel) returns > NULL, thus leaking the reference we hold on panel. > > Fixes: 9be7d864cf07 ("drm/tegra: Implement panel support") > Cc: > Signed-off-by: Boris Brezillon > -

[PATCH v2 1/6] drm/tegra: Fix a device_node leak when the DRM panel is not found

2018-05-03 Thread Boris Brezillon
of_node_put(panel) is not called when of_drm_find_panel(panel) returns NULL, thus leaking the reference we hold on panel. Fixes: 9be7d864cf07 ("drm/tegra: Implement panel support") Cc: Signed-off-by: Boris Brezillon --- drivers/gpu/drm/tegra/output.c | 3 +-- 1 file changed, 1 insertion(+), 2 d