Re: [PATCH] drm/tegra: Fix a strange error handling path

From: Thierry Reding

Date: Mon Jun 22 2026 - 02:51:11 EST


From: Thierry Reding <treding@xxxxxxxxxx>


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 <treding@xxxxxxxxxx>