Skip to content

Commit 14371e5

Browse files
GnurouDanilo Krummrich
authored andcommitted
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: ad2907b ("rust: add dma coherent allocator abstraction") [ Slightly expand commit subject and add 'Fixes:' tag. - Danilo ] Signed-off-by: Danilo Krummrich <dakr@kernel.org>
1 parent d37a39f commit 14371e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rust/kernel/dma.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ impl<T: AsBytes + FromBytes> CoherentAllocation<T> {
212212
self.cpu_addr
213213
}
214214

215-
/// Returns a DMA handle which may given to the device as the DMA address base of
215+
/// Returns a DMA handle which may be given to the device as the DMA address base of
216216
/// the region.
217217
pub fn dma_handle(&self) -> bindings::dma_addr_t {
218218
self.dma_handle

0 commit comments

Comments
 (0)