diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2025-06-19 22:23:45 +0900 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2025-06-23 17:10:44 +0200 |
commit | 14371e58cb2705b9ddc00efc3b94fb32612a753e (patch) | |
tree | 8b0d3fa64fd8dbea45a06559e957b633d082d4b4 | |
parent | d37a39f607c4a479d59781639b9c2a05448568a3 (diff) |
rust: dma: fix doc-comment of dma_handle()
A word was apparently missing in this sentence, hence fix it.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://lore.kernel.org/r/20250619-nova-frts-v6-1-ecf41ef99252@nvidia.com
Fixes: ad2907b4e308 ("rust: add dma coherent allocator abstraction")
[ Slightly expand commit subject and add 'Fixes:' tag. - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
-rw-r--r-- | rust/kernel/dma.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/kernel/dma.rs b/rust/kernel/dma.rs index 3446a6d46878..038e68c5a293 100644 --- a/rust/kernel/dma.rs +++ b/rust/kernel/dma.rs @@ -212,7 +212,7 @@ impl<T: AsBytes + FromBytes> CoherentAllocation<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 |