summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2026-08-29 14:54:14 +0200
committerDanilo Krummrich <dakr@kernel.org>2026-09-04 17:58:47 +0200
commitf6b56da8e1b8217e5516290ef9b09728a8f96a10 (patch)
treea274687abeab96e30f8d1f3434bfe5091572faae /tools/lib/python/kdoc/python_version.py
parent9dc6cedcd971d084a64a9bd11d9c822e1125b798 (diff)
rust: dma: tie CoherentHandle to the device's bound lifetime
Add a lifetime parameter to CoherentHandle that ties the DMA allocation to the device's bound scope, ensuring it is freed before the device is unbound. DMA allocations carry device resources (e.g. IOMMU mappings) that must not outlive the device's bound lifetime. Without a lifetime parameter, there was no compile-time enforcement that a CoherentHandle is dropped before the device is unbound. Reviewed-by: Gary Guo <gary@garyguo.net> Link: https://patch.msgid.link/20260830193824.471089-3-dakr@kernel.org Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions