rust: alloc: fix typo in docs for GFP_NOWAIT
authorAlice Ryhl <aliceryhl@google.com>
Wed, 29 May 2024 08:34:52 +0000 (08:34 +0000)
committerMiguel Ojeda <ojeda@kernel.org>
Mon, 8 Jul 2024 20:39:39 +0000 (22:39 +0200)
Fix a typo in alloc.rs by replacing Ror with For.

Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Link: https://lore.kernel.org/r/20240529083452.779865-1-aliceryhl@google.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/kernel/alloc.rs

index 531b5e471cb1404e16c5139fb4b2854619f982fb..c44995914f75451de2d9441425d6152a5712ac1a 100644 (file)
@@ -66,7 +66,7 @@ pub mod flags {
     /// The same as [`GFP_KERNEL`], except the allocation is accounted to kmemcg.
     pub const GFP_KERNEL_ACCOUNT: Flags = Flags(bindings::GFP_KERNEL_ACCOUNT);
 
-    /// Ror kernel allocations that should not stall for direct reclaim, start physical IO or
+    /// For kernel allocations that should not stall for direct reclaim, start physical IO or
     /// use any filesystem callback.  It is very likely to fail to allocate memory, even for very
     /// small allocations.
     pub const GFP_NOWAIT: Flags = Flags(bindings::GFP_NOWAIT);