rust: treewide: switch to the kernel `Vec` type
authorDanilo Krummrich <dakr@kernel.org>
Fri, 4 Oct 2024 15:41:23 +0000 (17:41 +0200)
committerMiguel Ojeda <ojeda@kernel.org>
Tue, 15 Oct 2024 21:10:32 +0000 (23:10 +0200)
commit58eff8e872bd04ccb3adcf99aec7334ffad06cfd
tree34c2a47614ac4961569fedd0a671871bbcadcb11
parent93e602310f87b7b515b86a8f919cc0799387e5c3
rust: treewide: switch to the kernel `Vec` type

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>
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