Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

rust: alloc: update module comment of alloc.rs

Before we remove Rust's alloc crate, rewrite the module comment in
alloc.rs to avoid a rustdoc warning.

Besides that, the module comment in alloc.rs isn't correct anymore,
we're no longer extending Rust's alloc crate.

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-28-dakr@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>

authored by

Danilo Krummrich and committed by
Miguel Ojeda
8ae740c3 eb6f92cd

+1 -1
+1 -1
rust/kernel/alloc.rs
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 3 - //! Extensions to the [`alloc`] crate. 3 + //! Implementation of the kernel's memory allocation infrastructure. 4 4 5 5 #[cfg(not(any(test, testlib)))] 6 6 pub mod allocator;