aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2025-07-30 20:24:44 +0200
committerHans Verkuil <hverkuil+cisco@kernel.org>2025-08-18 09:55:05 +0200
commit0d58a72b66ec4c24128395e408348c2c84221605 (patch)
treea41b3a8a9d02734d64e23ed8c96eb8b080909f1f /tools/perf/scripts/python
parentmedia: rkvdec: Fix a NULL vs IS_ERR() bug in probe() (diff)
downloadwireguard-linux-0d58a72b66ec4c24128395e408348c2c84221605.tar.xz
wireguard-linux-0d58a72b66ec4c24128395e408348c2c84221605.zip
media: rkvdec: Fix an error handling path in rkvdec_probe()
If an error occurs after a successful iommu_paging_domain_alloc() call, it should be undone by a corresponding iommu_domain_free() call, as already done in the remove function. In order to fix the issue, move the corresponding call at the end of the function, because it is safe to allocate 'empty_domain' later. Fixes: ff8c5622f9f7 ("media: rkvdec: Restore iommu addresses on errors") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions