Message ID | 1675751220-2-1-git-send-email-lizhijian@fujitsu.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 42A34C636CD for <linux-mm@archiver.kernel.org>; Tue, 7 Feb 2023 06:27:23 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9BDE26B0083; Tue, 7 Feb 2023 01:27:22 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 96E146B008A; Tue, 7 Feb 2023 01:27:22 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 835F36B008C; Tue, 7 Feb 2023 01:27:22 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 73F726B0083 for <linux-mm@kvack.org>; Tue, 7 Feb 2023 01:27:22 -0500 (EST) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 4BAB11C63E0 for <linux-mm@kvack.org>; Tue, 7 Feb 2023 06:27:22 +0000 (UTC) X-FDA: 80439513924.02.FC58AC1 Received: from mail1.bemta34.messagelabs.com (mail1.bemta34.messagelabs.com [195.245.231.3]) by imf06.hostedemail.com (Postfix) with ESMTP id ECD4918000B for <linux-mm@kvack.org>; Tue, 7 Feb 2023 06:27:19 +0000 (UTC) Authentication-Results: imf06.hostedemail.com; dkim=pass header.d=fujitsu.com header.s=170520fj header.b=U1jpnN9X; dmarc=pass (policy=none) header.from=fujitsu.com; spf=pass (imf06.hostedemail.com: domain of lizhijian@fujitsu.com designates 195.245.231.3 as permitted sender) smtp.mailfrom=lizhijian@fujitsu.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1675751240; 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-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=d/AU+u8+/6O7qciSFfGQtwH7sy/4II9G2h8l6YbI+N8=; b=Yyvo5w0Cj5GODvHSGHijT/8oLlOxR8Zvrty5KK7x16wzYwVlh2WgOrP4RlJMzGglIuMs5j ejyuIJTJ91dHIhe5fYtzeU1CKlg7zFgakMTAuQYjaOvJv3NeYMCQZry0TCAv01qlTNZ5jI wUTMVRn2qYQbqtd7EgxHWerDxsr+lC4= ARC-Authentication-Results: i=1; imf06.hostedemail.com; dkim=pass header.d=fujitsu.com header.s=170520fj header.b=U1jpnN9X; dmarc=pass (policy=none) header.from=fujitsu.com; spf=pass (imf06.hostedemail.com: domain of lizhijian@fujitsu.com designates 195.245.231.3 as permitted sender) smtp.mailfrom=lizhijian@fujitsu.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1675751240; a=rsa-sha256; cv=none; b=IRehxEv1KDDEL6OrI8UP/5h0okIl6phmgiSdiS2fFDMC/RuGL/JbZVrAyY1wTNB48NllTM ANn18QJX8S26Wh8LcVRyMUaY5a4Ab4QUzCDiVnRVCq1N86YBhRmfhji+QEn+o6cwYM85LQ wqhMHXZtWFUmGH6yhpILy35kd56q4bg= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fujitsu.com; s=170520fj; t=1675751238; i=@fujitsu.com; bh=d/AU+u8+/6O7qciSFfGQtwH7sy/4II9G2h8l6YbI+N8=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=U1jpnN9XvuE4O1SEH+Y7QtDfDZ+BM2f0WiPYf5VfIQ84WIWO5O9jXSEkMtvvBXAPP 1/UfCFs7ri+7ZDGIPa6lgWdjZLAzqifspIt/rhk1bkcuNZkutqrAOqN+0HPO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Fyy5+dSoS79nap/Jth8 srYTEO7vclMyddmJq7pT051v6ux4SVznGdsq/nh0hIXHc6Of36PSH5x+Wchr/XZl+65pEnu8Z Sle3Ql+wcZk3vnBR1RaFvbr2e32o9nJ9tyn165+NU7fbWnfkXi5d/M7z85qb62ppDxb8uMUmE e3OZMXTdO6C1YJ2PkD/vV2klluKMREMt5qLiRABbfFlzXAMAAA== X-Env-Sender: lizhijian@fujitsu.com X-Msg-Ref: server-17.tower-565.messagelabs.com!1675751237!514590!1 X-Originating-IP: [62.60.8.146] X-SYMC-ESS-Client-Auth: outbound-route-from=pass X-StarScan-Received: X-StarScan-Version: 9.102.2; banners=-,-,- X-VirusChecked: Checked Received: (qmail 18441 invoked from network); 7 Feb 2023 06:27:17 -0000 Received: from unknown (HELO n03ukasimr02.n03.fujitsu.local) (62.60.8.146) by server-17.tower-565.messagelabs.com with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 7 Feb 2023 06:27:17 -0000 Received: from n03ukasimr02.n03.fujitsu.local (localhost [127.0.0.1]) by n03ukasimr02.n03.fujitsu.local (Postfix) with ESMTP id 1A5D91000D2; Tue, 7 Feb 2023 06:27:17 +0000 (GMT) Received: from R01UKEXCASM223.r01.fujitsu.local (R01UKEXCASM223 [10.182.185.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by n03ukasimr02.n03.fujitsu.local (Postfix) with ESMTPS id 0EAF01000C1; Tue, 7 Feb 2023 06:27:17 +0000 (GMT) Received: from 167394c7bb87.localdomain (10.167.225.141) by R01UKEXCASM223.r01.fujitsu.local (10.182.185.121) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 7 Feb 2023 06:27:14 +0000 From: Li Zhijian <lizhijian@fujitsu.com> To: <akpm@linux-foundation.org>, <dan.j.williams@intel.com> CC: <linux-mm@kvack.org>, <linux-kernel@vger.kernel.org>, Li Zhijian <lizhijian@fujitsu.com> Subject: [PATCH] mm/memremap.c: Fix outdated comment in devm_memremap_pages Date: Tue, 7 Feb 2023 06:27:00 +0000 Message-ID: <1675751220-2-1-git-send-email-lizhijian@fujitsu.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.167.225.141] X-ClientProxiedBy: G08CNEXCHPEKD07.g08.fujitsu.local (10.167.33.80) To R01UKEXCASM223.r01.fujitsu.local (10.182.185.121) X-Virus-Scanned: ClamAV using ClamSMTP X-Rspamd-Queue-Id: ECD4918000B X-Rspamd-Server: rspam09 X-Rspam-User: X-Stat-Signature: js4xxs44zxxo4ierkmb8jzdbszy416q1 X-HE-Tag: 1675751239-916988 X-HE-Meta: U2FsdGVkX18D0ak8REbVJ8C0H+HRbyEEqW2l3vgNyFgXU37ET1LDzQ298Tx2P7w9248L+7z+ry7HELAANLiTp7API9He4tgtzJoaS2YS1oiGeMeY4IBhHZJsyJF306sJvLmBwojE0PQYzdp2QWBAfc/bDMnhG9Y14leoF+KmywdwZANu6mh2nxPx/PRSrraxrL8xXw+7p8NQq0uoMtu7MhJ6Mu/o6easFQKXSObC3rrfQY+rej8Ah2+KVdppUgjub+ZpFT5jgHQL8bp/kmRsryV3zkHdGEemA14qXTRkvfosJKQb361uMp+c5uf4L+x6S7thbQH4+UO6ozMJk/sxXzdtgiM7G67aic6AmzmGpk3c0aIJZmDVgvSh14NUV6hIIyl9nnhe1BvbEu39Bxs30osyq3fAXM/A4InZ1QvCDbTpZWzMn4D0vDd/3SG1DqqY7UQKaRQemX6MQS16o3uD6X7xrkpRPdlx7NpRUYCvmEq2JIhf6clc6+62zY0r8TlXRpfpeJenhkaxgCZNEGFSeB8w4sEemEooVAKmyWKJNCUaCdPwjwBCfpH1+/5LPsMqP7lF+Rx0H23tQFoPIsQ9lHzRA59iKsrBte5q/xhcXceUFfjTokXYKsHOpynlXHqr8aDd1vdx2J7sLLQz9bUI6OEQ0KGJIvnDL1targLFI/R6EV9PvXz0OHXW7TPCuq13LGiyi2bKuBR2aQmnYT1qhOQJpBsSeTxP16LWe4IGFTaWAre6XG0Kq5vCI/akTjMjI/Uhb0LPpkiXmy3P7WRCW0thJkIPal4IzMQbDTwhKqMNdstQqloNZcqfHA6mEWs5dJoWT9bBiQJsX1iAzVBKOFCaN6obJpilbWn58Wf7kBH8LIJ/4Ldo751x9ChuKMGlDHCViJIbVlCfTD8UF9dLSFCC5zDoDXC1fxhhxBA0TYWdgImtr9fdM653uNnJ5s9a2ofWRvKiPRB67S39PFF vEyjLIIP z2lyp7UWn40FSb6JL4azDSj5DX5A+efeqVBHw1bHxey/rRFfGzphwF6TWUejyO4GTsLEssg9mtvYn2xqwQddMJfAe2nt4FFxGo4YXVrH6plYM8xCWhbXX3CaPCKqJs/2f/e9royUCoaU/fS7Hp+28Nx1yS54NVOttAHP99upbDACr4OlornqnHOygecjfifFKCISt+hgy2FT1/FchFLBWdsTaH1ayS6km5DWqubHK+hBhPoNzgUOzn1WRwg== 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: <linux-mm.kvack.org> |
Series |
mm/memremap.c: Fix outdated comment in devm_memremap_pages
|
expand
|
diff --git a/mm/memremap.c b/mm/memremap.c index 08cbf54fe037..38eca62e176c 100644 --- a/mm/memremap.c +++ b/mm/memremap.c @@ -385,7 +385,7 @@ void *memremap_pages(struct dev_pagemap *pgmap, int nid) * @pgmap: pointer to a struct dev_pagemap * * Notes: - * 1/ At a minimum the res and type members of @pgmap must be initialized + * 1/ At a minimum the range and type members of @pgmap must be initialized * by the caller before passing it to this function * * 2/ The altmap field may optionally be initialized, in which case
commit a4574f63edc6 ("mm/memremap_pages: convert to 'struct range'") converted res to range, update the comment correspondingly. Signed-off-by: Li Zhijian <lizhijian@fujitsu.com> --- mm/memremap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)