Re: [PATCH 3/4] drm/tegra: gr3d: Properly clean up resources

2018-05-05 Thread Dmitry Osipenko
On 04.05.2018 16:37, Thierry Reding wrote: > From: Thierry Reding > > Failure to register the Tegra DRM client would leak the resources. Move > cleanup code to error unwinding gotos to fix that and share the cleanup > code with the other error paths. > > Signed-off-by: Thierry Reding > --- > d

[PATCH 3/4] drm/tegra: gr3d: Properly clean up resources

2018-05-04 Thread Thierry Reding
From: Thierry Reding Failure to register the Tegra DRM client would leak the resources. Move cleanup code to error unwinding gotos to fix that and share the cleanup code with the other error paths. Signed-off-by: Thierry Reding --- drivers/gpu/drm/tegra/gr3d.c | 27 +--