public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] rust: dma: drop placeholder TODO comment
@ 2026-05-06 17:46 Melih Emik
  2026-05-06 17:54 ` Gary Guo
  2026-05-06 18:57 ` Onur Özkan
  0 siblings, 2 replies; 3+ messages in thread
From: Melih Emik @ 2026-05-06 17:46 UTC (permalink / raw)
  To: Abdiel Janulgue, Daniel Almeida, Robin Murphy, Andreas Hindborg,
	Boqun Feng, Gary Guo, Björn Roy Baron, Benno Lossin,
	Alice Ryhl, Trevor Gross, Danilo Krummrich, driver-core,
	rust-for-linux, linux-kernel

The comment above Coherent already describes the outstanding design

considerations around device resource lifetime.

Drop the standalone placeholder TODO marker and keep the explanatory

text, including a minor wording fix.

No functional change intended.

Signed-off-by: Melih Emik <melihemik@noirlang.tr>
---
 rust/kernel/dma.rs | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/rust/kernel/dma.rs b/rust/kernel/dma.rs
index 4995ee5dc689..60c458adba0c 100644
--- a/rust/kernel/dma.rs
+++ b/rust/kernel/dma.rs
@@ -580,9 +580,7 @@ fn from(value: CoherentBox<T>) -> Self {
 ///   to an allocated region of coherent memory and `dma_handle` is the DMA address base of the
 ///   region.
 /// - The size in bytes of the allocation is equal to size information via pointer.
-// TODO
-//
-// DMA allocations potentially carry device resources (e.g.IOMMU mappings), hence for soundness
+// DMA allocations potentially carry device resources (e.g. IOMMU mappings), hence for soundness
 // reasons DMA allocation would need to be embedded in a `Devres` container, in order to ensure
 // that device resources can never survive device unbind.
 //
-- 
2.54.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-05-06 18:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-06 17:46 [PATCH] rust: dma: drop placeholder TODO comment Melih Emik
2026-05-06 17:54 ` Gary Guo
2026-05-06 18:57 ` Onur Özkan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox