[PATCH v6 01/24] rust: dma: fix comment
Alexandre Courbot
acourbot at nvidia.com
Thu Jun 19 13:23:45 UTC 2025
A word was apparently missing in this sentence.
Signed-off-by: Alexandre Courbot <acourbot at nvidia.com>
---
rust/kernel/dma.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust/kernel/dma.rs b/rust/kernel/dma.rs
index a33261c62e0c2d3c2c9e92a4c058faab594e5355..5fb54714a1600d97b30b24f344081f5558d43452 100644
--- a/rust/kernel/dma.rs
+++ b/rust/kernel/dma.rs
@@ -212,7 +212,7 @@ pub fn start_ptr_mut(&mut self) -> *mut T {
self.cpu_addr
}
- /// Returns a DMA handle which may given to the device as the DMA address base of
+ /// Returns a DMA handle which may be given to the device as the DMA address base of
/// the region.
pub fn dma_handle(&self) -> bindings::dma_addr_t {
self.dma_handle
--
2.49.0
More information about the Nouveau
mailing list