Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2412901pxb; Wed, 9 Feb 2022 18:45:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJyhU+q9cfAggYATcS5nqZEWXcoV9YBRUs8rT6749YNN/C1nWKjaAQuomfWURHPu/VDsdx2J X-Received: by 2002:a17:906:ce54:: with SMTP id se20mr4560462ejb.479.1644461141016; Wed, 09 Feb 2022 18:45:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644461141; cv=none; d=google.com; s=arc-20160816; b=RfDlLrDAhUIcPp1EakHE+OjlX43+ug9ujKjYyxtqjvY7JYYmi+Nd1lNi6+48Oh6XgB FE7/EqgX49rXW69Nvzt9Nj6BEPTHyegdaNhtHJcihovQJO1ym+G+innz9Hi1KONOvfgV 6MtCOuiMPrsE57W+w4SUpqPGo6rdFa8+EupEpVmHhV/axx3TxE6pzqIhv8nDQI+dRjt1 uz+Q5zY8ktsdORJNSTwT1cV+nVs3zWqTDvZTPXj9G8WR/YERXK+rpzkUTmDMugcL+KIh 2jFJ5GWEMmEAQWFpCWqEKF0DJU4WLYgGIAg3TBeZywXbIwD9iFzBR3LYpZVi7KcthwL1 XQKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=947xrHNwDha3h/YRHblh195xuTx10D0UuJD7uEX6uPE=; b=gPvZjws8nimXTexcpCvxH0OkgnUCpHn1popiTkOkyj+pgT/OSFbi9ECf6cW5895EGm 0fWfGi6Y6vqnfbNsxWqh/n9T4rdG0uQ8RaulYsLLfbbsc85IH4Z7mRe+lH2GKjGNfXAq LWEIQDF2pqgChMcHXMtcWQ08x01qk2esVXVzkwsIVRSJAFvjv+iVzWdwisLpOB0HBgaq Dhfupq1bML2SQ0NFqXw0VdvoA1A7qtyfIKtjPnzpmS5GnAdRmD4zZa/T1dGAklU8XwSv fs66Q7k3RluSUFoc/6IxBDaKfsuD66Ivauhw2rS/TBsEriLRFXrOHSGDaM4xEBLyXQrH uh9A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u9si8454132edy.625.2022.02.09.18.45.17; Wed, 09 Feb 2022 18:45:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233807AbiBJB7R (ORCPT + 99 others); Wed, 9 Feb 2022 20:59:17 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:60356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234035AbiBJB6B (ORCPT ); Wed, 9 Feb 2022 20:58:01 -0500 Received: from out30-42.freemail.mail.aliyun.com (out30-42.freemail.mail.aliyun.com [115.124.30.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8512AA1 for ; Wed, 9 Feb 2022 17:49:26 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R621e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04407;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0V41QR40_1644454130; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0V41QR40_1644454130) by smtp.aliyun-inc.com(127.0.0.1); Thu, 10 Feb 2022 08:48:51 +0800 From: Yang Li To: akpm@linux-foundation.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] mm/munlock: Fix kernel-doc formatting issues Date: Thu, 10 Feb 2022 08:48:49 +0800 Message-Id: <20220210004849.69017-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some functions had kernel-doc that used a hash instead of a colon to separate the parameter name from the one line description. Replacing them to remove warnings found by running scripts/kernel-doc, which is caused by using 'make W=1'. mm/mlock.c:218: warning: Function parameter or member 'page' not described in 'mlock_page' mm/mlock.c:240: warning: Function parameter or member 'page' not described in 'mlock_new_page' mm/mlock.c:260: warning: Function parameter or member 'page' not described in 'munlock_page' Reported-by: Abaci Robot Signed-off-by: Yang Li --- mm/mlock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mm/mlock.c b/mm/mlock.c index d50d48961b22..7fb97e1242f1 100644 --- a/mm/mlock.c +++ b/mm/mlock.c @@ -212,7 +212,7 @@ bool need_mlock_page_drain(int cpu) /** * mlock_page - mlock a page already on (or temporarily off) LRU - * @page - page to be mlocked, either a normal page or a THP head. + * @page: page to be mlocked, either a normal page or a THP head. */ void mlock_page(struct page *page) { @@ -234,7 +234,7 @@ void mlock_page(struct page *page) /** * mlock_new_page - mlock a newly allocated page not yet on LRU - * @page - page to be mlocked, either a normal page or a THP head. + * @page: page to be mlocked, either a normal page or a THP head. */ void mlock_new_page(struct page *page) { @@ -254,7 +254,7 @@ void mlock_new_page(struct page *page) /** * munlock_page - munlock a page - * @page - page to be munlocked, either a normal page or a THP head. + * @page: page to be munlocked, either a normal page or a THP head. */ void munlock_page(struct page *page) { -- 2.20.1.7.g153144c