From patchwork Thu Feb 24 06:27:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 12757902 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 F3B55C433EF for ; Thu, 24 Feb 2022 06:27:23 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 64CEB8D0002; Thu, 24 Feb 2022 01:27:23 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 5FC328D0001; Thu, 24 Feb 2022 01:27:23 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4EA908D0002; Thu, 24 Feb 2022 01:27:23 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0131.hostedemail.com [216.40.44.131]) by kanga.kvack.org (Postfix) with ESMTP id 21D238D0001 for ; Thu, 24 Feb 2022 01:27:23 -0500 (EST) Received: from smtpin26.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 965B099E9E for ; Thu, 24 Feb 2022 06:27:22 +0000 (UTC) X-FDA: 79176691524.26.F7A5058 Received: from out30-42.freemail.mail.aliyun.com (out30-42.freemail.mail.aliyun.com [115.124.30.42]) by imf21.hostedemail.com (Postfix) with ESMTP id 229591C000E for ; Thu, 24 Feb 2022 06:27:20 +0000 (UTC) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R171e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04423;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0V5MmLmK_1645684037; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0V5MmLmK_1645684037) by smtp.aliyun-inc.com(127.0.0.1); Thu, 24 Feb 2022 14:27:18 +0800 From: Yang Li To: akpm@linux-foundation.org, linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] mm/mlock: Fix argument list that the kdoc format and script verified. Date: Thu, 24 Feb 2022 14:27:14 +0800 Message-Id: <20220224062714.27058-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Authentication-Results: imf21.hostedemail.com; dkim=none; spf=pass (imf21.hostedemail.com: domain of yang.lee@linux.alibaba.com designates 115.124.30.42 as permitted sender) smtp.mailfrom=yang.lee@linux.alibaba.com; dmarc=pass (policy=none) header.from=alibaba.com X-Rspam-User: X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: 229591C000E X-Stat-Signature: fna6wx1qrrjjbtky1c1gatcf9h8kq64q X-HE-Tag: 1645684040-96473 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: The warnings were found by running scripts/kernel-doc, which is caused by using 'make W=1'. mm/mlock.c:225: warning: Function parameter or member 'folio' not described in 'mlock_folio' mm/mlock.c:225: warning: Excess function parameter 'page' description in 'mlock_folio' Reported-by: Abaci Robot Signed-off-by: Yang Li --- mm/mlock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/mlock.c b/mm/mlock.c index e8e4274480bf..d6294042698a 100644 --- a/mm/mlock.c +++ b/mm/mlock.c @@ -219,7 +219,7 @@ bool need_mlock_page_drain(int cpu) /** * mlock_folio - mlock a folio already on (or temporarily off) LRU - * @page: folio to be mlocked. + * @folio: The folio we're currently operating on. */ void mlock_folio(struct folio *folio) {