From patchwork Mon Aug 12 18:23:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danilo Krummrich X-Patchwork-Id: 13760941 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id D6539C52D7C for ; Mon, 12 Aug 2024 18:26:21 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 69AE36B007B; Mon, 12 Aug 2024 14:26:21 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5ADFB6B00AC; Mon, 12 Aug 2024 14:26:21 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3DB056B00CE; Mon, 12 Aug 2024 14:26:21 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 19EC86B007B for ; Mon, 12 Aug 2024 14:26:21 -0400 (EDT) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id C44F5401FF for ; Mon, 12 Aug 2024 18:26:20 +0000 (UTC) X-FDA: 82444423320.06.52DA723 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf10.hostedemail.com (Postfix) with ESMTP id 21AF1C000E for ; Mon, 12 Aug 2024 18:26:18 +0000 (UTC) Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=j0ejD2cK; spf=pass (imf10.hostedemail.com: domain of dakr@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=dakr@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1723487144; a=rsa-sha256; cv=none; b=Xwrq80iLYIvwFBZzEtelX2Wi6KwZkZQX9Zl30LqySpBi1RqGzQ7SIZ09jtiXEgFU5SlhtS SLSu2ioRNHscRZqfzdYlFtNw8cclB6LnsPe6LdluXjhodAnxLecBSlnmGmjCWNzn5Z3/xw /7qrBV971NRaQGDA3wSaiJSxmNNI6G4= ARC-Authentication-Results: i=1; imf10.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=j0ejD2cK; spf=pass (imf10.hostedemail.com: domain of dakr@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=dakr@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1723487144; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=hX2RxSun3JSZVkOm5hxWH4T9kP8IaSZYNFKLw9Yy0nM=; b=Dq0jyiEVn81F+TgvW5x1q4bTC2yw46ZbvX8A5juw7PO9kRnyrnIR2N83jxd/OjOlkEo7jt dbWkXh/cZZMozhLaGDpAB2r8iaJ2FVNEM9Psq7pcnCdCdNvE6X0e7SbzyKtydAhwq4ad0o 2YDOtgAXp8hJdNYFXV2JLKTskLKwjvA= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 59F2E611DC; Mon, 12 Aug 2024 18:26:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1BC2FC4AF0C; Mon, 12 Aug 2024 18:26:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1723487178; bh=blDL6gfz+IKgF0QGtqP0bU2aIjtbW4lMlGcoQxrbKCw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=j0ejD2cKN1Yda7MLbZ1sGcQbdEykpeupJ5GzPzGRGxYBhzuKhNwTbgYdHuXLkWvDK /RUO4uugW0iM0P/QTXZA2Iph+OGwWBO9VpBZ83LwxJo2DOVZ0IBnRNYEgUhKSQU91u yxvHaWSNEezuB/y14tKW15XS1MF/Ir6HnqsiRxpnlZxXYfUw6KDF491K8qq3ZI8Xil 9USenuaFeAd6QGmwCPocQ2MUj5Jklpflnt32sggrRqvJkEftwifrXb5ZLM9ZzncQJJ pnX0qMZiwpWdiOFwhZpC73tM7TKDkRnSm5IEiUHlSwSiz2+KeEiAADLfFw9leKcXL8 L8lVNrPJBzkzg== From: Danilo Krummrich To: ojeda@kernel.org, alex.gaynor@gmail.com, wedsonaf@gmail.com, boqun.feng@gmail.com, gary@garyguo.net, bjorn3_gh@protonmail.com, benno.lossin@proton.me, a.hindborg@samsung.com, aliceryhl@google.com, akpm@linux-foundation.org Cc: daniel.almeida@collabora.com, faith.ekstrand@collabora.com, boris.brezillon@collabora.com, lina@asahilina.net, mcanal@igalia.com, zhiw@nvidia.com, cjia@nvidia.com, jhubbard@nvidia.com, airlied@redhat.com, ajanulgu@redhat.com, lyude@redhat.com, linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-mm@kvack.org, Danilo Krummrich Subject: [PATCH v5 24/26] rust: alloc: update module comment of alloc.rs Date: Mon, 12 Aug 2024 20:23:10 +0200 Message-ID: <20240812182355.11641-25-dakr@kernel.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240812182355.11641-1-dakr@kernel.org> References: <20240812182355.11641-1-dakr@kernel.org> MIME-Version: 1.0 X-Stat-Signature: ifjum53tu5ibx7c3pa14twe618b8f1uu X-Rspamd-Queue-Id: 21AF1C000E X-Rspam-User: X-Rspamd-Server: rspam10 X-HE-Tag: 1723487178-932367 X-HE-Meta: U2FsdGVkX18E47e8gsVGHP+AbZN1fCtvwgSLFAf/nBfGGks74Sah9VxD3Jodw+6mGY/aHOGzHZyFj/Y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dsh1zekTataoEFMi6OPi4FWb459kadHB9T9mpFZxBEHxkn9RnANsJuY24t9If/nF3q1XYdpSH53YcX8/bmsjGpGJeu/rdZcPIJPdYHgGKfAohovVP4y2JK5Z988w1G3kWcgb56/yw9gQYqzlSeB7ABJXwSy+IwGv9jVRtsk1cNL0MhN1LxNA7Chs36D5a8= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: 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 Signed-off-by: Danilo Krummrich --- rust/kernel/alloc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/kernel/alloc.rs b/rust/kernel/alloc.rs index be2bd0f1e74a..b2a41359a18d 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;