diff options
| author | Miaoqian Lin <linmq006@gmail.com> | 2025-12-11 16:33:44 +0400 |
|---|---|---|
| committer | Linus Walleij <linusw@kernel.org> | 2025-12-31 22:42:26 +0100 |
| commit | 0ddd3bb4b14c9102c0267b3fd916c81fe5ab89c1 (patch) | |
| tree | 6545e905325a02f5c48250bc976a5590637dc0f3 /include/linux/reset/git@git.tavy.me:linux.git | |
| parent | 3fbd97618f49e07e05aad96510e5f2ed22d68809 (diff) | |
drm/pl111: Fix error handling in pl111_amba_probe
Jump to the existing dev_put label when devm_request_irq() fails
so drm_dev_put() and of_reserved_mem_device_release() run
instead of returning early and leaking resources.
Found via static analysis and code review.
Fixes: bed41005e617 ("drm/pl111: Initial drm/kms driver for pl111")
Cc: stable@vger.kernel.org
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20251211123345.2392065-1-linmq006@gmail.com
Diffstat (limited to 'include/linux/reset/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
