summaryrefslogtreecommitdiff
path: root/Documentation/tty/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2026-06-20 21:23:14 +0200
committerThierry Reding <treding@nvidia.com>2026-06-22 08:46:25 +0200
commite60d3f9b4c89ffff5472ddc2829d5e29bcb153fe (patch)
tree1321b089d9ccb580930c9cada92766d8fcd5c84c /Documentation/tty/git@git.tavy.me:linux.git
parent2cee7da9743396aff1fd13124109c78975c92ad8 (diff)
drm/tegra: Fix a strange error handling path
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. So, fix the logic and return directly. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'Documentation/tty/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions