Skip to content

Commit d3ee24c

Browse files
Darksonnojeda
authored andcommitted
rust: alloc: fix typo in docs for GFP_NOWAIT
Fix a typo in alloc.rs by replacing Ror with For. Signed-off-by: Alice Ryhl <[email protected]> Reviewed-by: Vincenzo Palazzo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
1 parent 9ffc80c commit d3ee24c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/kernel/alloc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ pub mod flags {
6666
/// The same as [`GFP_KERNEL`], except the allocation is accounted to kmemcg.
6767
pub const GFP_KERNEL_ACCOUNT: Flags = Flags(bindings::GFP_KERNEL_ACCOUNT);
6868

69-
/// Ror kernel allocations that should not stall for direct reclaim, start physical IO or
69+
/// For kernel allocations that should not stall for direct reclaim, start physical IO or
7070
/// use any filesystem callback. It is very likely to fail to allocate memory, even for very
7171
/// small allocations.
7272
pub const GFP_NOWAIT: Flags = Flags(bindings::GFP_NOWAIT);

0 commit comments

Comments
 (0)