]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
rust: dma: add missing Markdown code span
authorMiguel Ojeda <ojeda@kernel.org>
Mon, 24 Mar 2025 21:03:52 +0000 (22:03 +0100)
committerMiguel Ojeda <ojeda@kernel.org>
Sun, 25 May 2025 20:58:36 +0000 (22:58 +0200)
Add missing Markdown code span.

This was found using the Clippy `doc_markdown` lint, which we may want
to enable.

Fixes: ad2907b4e308 ("rust: add dma coherent allocator abstraction")
Reviewed-by: Benno Lossin <benno.lossin@proton.me>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://lore.kernel.org/r/20250324210359.1199574-6-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/kernel/dma.rs

index 8cdc76043ee77b9cff059e12a2c0f947236cf511..35fd8a6384738ebc68953d3b9071a48480718f4d 100644 (file)
@@ -94,7 +94,7 @@ pub mod attrs {
     pub const DMA_ATTR_ALLOC_SINGLE_PAGES: Attrs = Attrs(bindings::DMA_ATTR_ALLOC_SINGLE_PAGES);
 
     /// This tells the DMA-mapping subsystem to suppress allocation failure reports (similarly to
-    /// __GFP_NOWARN).
+    /// `__GFP_NOWARN`).
     pub const DMA_ATTR_NO_WARN: Attrs = Attrs(bindings::DMA_ATTR_NO_WARN);
 
     /// Used to indicate that the buffer is fully accessible at an elevated privilege level (and