Re: [PATCH] drm/tegra: Fix a strange error handling path
Thierry Reding <[email protected]> Mon, 22 Jun 2026 08:50:55 +0200
| Newsgroups | org.kernel.vger.kernel-janitors,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-tegra |
|---|---|
| Message-ID | <178211096494.2479863.16578340445085955696.b4-ty@b4> |
From: Thierry Reding <[email protected]> On Sat, 20 Jun 2026 21:23:14 +0200, Christophe JAILLET wrote: > The resource freed at the 'put_aux' label is "sor->aux->dev". > However, this resource is taken after devm_tegra_pmc_get(), so there is no > point to release it in this error handling path. > > This is harmless because put_device() will be called with a NULL pointer, > but this is confusing. > > [...] Applied, thanks! [1/1] drm/tegra: Fix a strange error handling path commit: e60d3f9b4c89ffff5472ddc2829d5e29bcb153fe Best regards, -- Thierry Reding <[email protected]>