]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
rust: treewide: switch to the kernel `Vec` type
authorDanilo Krummrich <dakr@kernel.org>
Fri, 7 Mar 2025 22:49:45 +0000 (23:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Mar 2025 12:01:46 +0000 (13:01 +0100)
commite64a79b9a57fdb58282cdf6f3c25b6c6d3160557
tree957202277797b88d971cbbdcc036d58b222cc733
parent0a798a23bbabd5544c616af3a6ef988e6c5f53c0
rust: treewide: switch to the kernel `Vec` type

commit 58eff8e872bd04ccb3adcf99aec7334ffad06cfd upstream.

Now that we got the kernel `Vec` in place, convert all existing `Vec`
users to make use of it.

Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Benno Lossin <benno.lossin@proton.me>
Reviewed-by: Gary Guo <gary@garyguo.net>
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Link: https://lore.kernel.org/r/20241004154149.93856-20-dakr@kernel.org
[ Converted `kasan_test_rust.rs` too, as discussed. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
mm/kasan/kasan_test_rust.rs
rust/kernel/str.rs
rust/kernel/sync/locked_by.rs
rust/kernel/types.rs
rust/kernel/uaccess.rs
rust/macros/lib.rs
samples/rust/rust_minimal.rs