[PATCH v6 01/24] rust: dma: fix comment

Alexandre Courbot posted 24 patches 6 months ago
[PATCH v6 01/24] rust: dma: fix comment
Posted by Alexandre Courbot 6 months ago
A word was apparently missing in this sentence.

Signed-off-by: Alexandre Courbot <acourbot@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
Re: [PATCH v6 01/24] rust: dma: fix comment
Posted by Danilo Krummrich 5 months, 4 weeks ago
On Thu, Jun 19, 2025 at 10:23:45PM +0900, Alexandre Courbot wrote:
> A word was apparently missing in this sentence.
> 
> Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>

Applied to alloc-next, thanks!

  [ Slightly expand commit subject and add 'Fixes:' tag. - Danilo ]