From: Danilo Krummrich Date: Fri, 4 Oct 2024 15:41:31 +0000 (+0200) Subject: rust: alloc: update module comment of alloc.rs X-Git-Tag: v6.13-rc1~71^2~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8ae740c3917ff92108df17236b3cf1b9a74bd359;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-by: Benno Lossin Reviewed-by: Gary Guo Signed-off-by: Danilo Krummrich Link: https://lore.kernel.org/r/20241004154149.93856-28-dakr@kernel.org Signed-off-by: Miguel Ojeda --- diff --git a/rust/kernel/alloc.rs b/rust/kernel/alloc.rs index c6024afa37397..f2f7f3a53d298 100644 --- a/rust/kernel/alloc.rs +++ b/rust/kernel/alloc.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 -//! Extensions to the [`alloc`] crate. +//! Implementation of the kernel's memory allocation infrastructure. #[cfg(not(any(test, testlib)))] pub mod allocator;