rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rust: alloc: fix typo in docs for GFP_NOWAIT
@ 2024-05-29  8:34 Alice Ryhl
  2024-05-29 19:02 ` Vincenzo Palazzo
  2024-07-09  7:53 ` Miguel Ojeda
  0 siblings, 2 replies; 3+ messages in thread
From: Alice Ryhl @ 2024-05-29  8:34 UTC (permalink / raw)
  To: Miguel Ojeda; +Cc: rust-for-linux, linux-kernel, Alice Ryhl

Fix a typo in alloc.rs by replacing Ror with For.

Signed-off-by: Alice Ryhl <aliceryhl@google.com>
---
 rust/kernel/alloc.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rust/kernel/alloc.rs b/rust/kernel/alloc.rs
index 531b5e471cb1..c44995914f75 100644
--- a/rust/kernel/alloc.rs
+++ b/rust/kernel/alloc.rs
@@ -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);

base-commit: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
-- 
2.45.1.288.g0e0cd299f1-goog


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] rust: alloc: fix typo in docs for GFP_NOWAIT
  2024-05-29  8:34 [PATCH] rust: alloc: fix typo in docs for GFP_NOWAIT Alice Ryhl
@ 2024-05-29 19:02 ` Vincenzo Palazzo
  2024-07-09  7:53 ` Miguel Ojeda
  1 sibling, 0 replies; 3+ messages in thread
From: Vincenzo Palazzo @ 2024-05-29 19:02 UTC (permalink / raw)
  To: Alice Ryhl, Miguel Ojeda; +Cc: rust-for-linux, linux-kernel

On Wed May 29, 2024 at 10:34 AM CEST, Alice Ryhl wrote:
> 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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] rust: alloc: fix typo in docs for GFP_NOWAIT
  2024-05-29  8:34 [PATCH] rust: alloc: fix typo in docs for GFP_NOWAIT Alice Ryhl
  2024-05-29 19:02 ` Vincenzo Palazzo
@ 2024-07-09  7:53 ` Miguel Ojeda
  1 sibling, 0 replies; 3+ messages in thread
From: Miguel Ojeda @ 2024-07-09  7:53 UTC (permalink / raw)
  To: Alice Ryhl; +Cc: Miguel Ojeda, rust-for-linux, linux-kernel

On Wed, May 29, 2024 at 10:34 AM Alice Ryhl <aliceryhl@google.com> wrote:
>
> Fix a typo in alloc.rs by replacing Ror with For.
>
> Signed-off-by: Alice Ryhl <aliceryhl@google.com>

Applied to `rust-next` -- thanks!

Cheers,
Miguel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-07-09  7:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-29  8:34 [PATCH] rust: alloc: fix typo in docs for GFP_NOWAIT Alice Ryhl
2024-05-29 19:02 ` Vincenzo Palazzo
2024-07-09  7:53 ` Miguel Ojeda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).