diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2023-01-04 12:57:02 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2023-01-20 15:46:19 +0300 |
commit | 53719876e064643a6e58b5e6067a149a0fd191ec (patch) | |
tree | 12a1d20b36e38b23d6ac3740dca072205cfbb637 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b7bfaa761d760e72a969d116517eaa12e404c262 (diff) | |
download | linux-53719876e064643a6e58b5e6067a149a0fd191ec.tar.xz |
iommu/exynos: Fix error handling in exynos_iommu_init()
If platform_driver_register() fails, it don't need unregister and call
kmem_cache_free() to free the memory allocated before calling register.
Fixes: bbc4d205d93f ("iommu/exynos: Fix driver initialization sequence")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Link: https://lore.kernel.org/r/20230104095702.2591122-1-yangyingliang@huawei.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions