Patch "rust: str: fix requierments->requirements typo" has been added to the 6.1-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    rust: str: fix requierments->requirements typo

to the 6.1-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     rust-str-fix-requierments-requirements-typo.patch
and it can be found in the queue-6.1 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 4405ad903d04d4553d5547292e131a0715ae9f68
Author: Patrick Blass <patrickblass@xxxxxxxxxxx>
Date:   Fri Mar 3 20:06:29 2023 +0100

    rust: str: fix requierments->requirements typo
    
    [ Upstream commit 88e8c2ec4ab84f9f05ed5af9693a3972baf386c4 ]
    
    Fix a trivial spelling error in the `rust/kernel/str.rs` file.
    
    Fixes: 247b365dc8dc ("rust: add `kernel` crate")
    Reported-by: Miguel Ojeda <ojeda@xxxxxxxxxx>
    Link: https://github.com/Rust-for-Linux/linux/issues/978
    Signed-off-by: Patrick Blass <patrickblass@xxxxxxxxxxx>
    Reviewed-by: Vincenzo Palazzo <vincenzopalazzodev@xxxxxxxxx>
    [Reworded slightly]
    Signed-off-by: Miguel Ojeda <ojeda@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/rust/kernel/str.rs b/rust/kernel/str.rs
index e45ff220ae50f..2c4b4bac28f42 100644
--- a/rust/kernel/str.rs
+++ b/rust/kernel/str.rs
@@ -29,7 +29,7 @@ impl RawFormatter {
     /// If `pos` is less than `end`, then the region between `pos` (inclusive) and `end`
     /// (exclusive) must be valid for writes for the lifetime of the returned [`RawFormatter`].
     pub(crate) unsafe fn from_ptrs(pos: *mut u8, end: *mut u8) -> Self {
-        // INVARIANT: The safety requierments guarantee the type invariants.
+        // INVARIANT: The safety requirements guarantee the type invariants.
         Self {
             beg: pos as _,
             pos: pos as _,



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux