diff options
author | Aleksandr Aprelkov <[email protected]> | 2024-04-03 12:37:59 +0700 |
---|---|---|
committer | Will Deacon <[email protected]> | 2024-04-18 15:39:39 +0100 |
commit | 80fea979dd9d48d67c5b48d2f690c5da3e543ebd (patch) | |
tree | a2b4f35ba53132de050bb66dd960645228319b3e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d75d7dc26f29141fe31167c5414605d4087f0abb (diff) |
iommu/arm-smmu-v3: Free MSIs in case of ENOMEM
If devm_add_action() returns -ENOMEM, then MSIs are allocated but not
not freed on teardown. Use devm_add_action_or_reset() instead to keep
the static analyser happy.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Signed-off-by: Aleksandr Aprelkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[will: Tweak commit message, remove warning message]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions