diff options
author | Chunyan Zhang <[email protected]> | 2023-03-31 11:31:24 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2023-03-31 10:13:02 +0200 |
commit | 816c698c052471f525bea92ff0aeeda8a5844a85 (patch) | |
tree | 8dd59abafac4f7cc013255c912b913579f050f1b /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 9afea57384d4ae7b2034593eac7fa76c7122762a (diff) |
iommu/sprd: Add support for reattaching an existing domain
This IOMMU driver should allow a domain to be attached more than once.
If IOMMU is reattaching to the same domain which is attached, there's
nothing to be done.
If reattching to a previously-used domain, do not alloc DMA buffer
again which stores address mapping table to avoid memory leak.
Signed-off-by: Chunyan Zhang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions