Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1295489pxm; Wed, 23 Feb 2022 23:40:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJyACAVFCk1zv0dzDc9WfzrQ7friqE8o4RbJUXVYOnJhB3KrryNQYe2Xe2XegxnoUOOiUdUW X-Received: by 2002:a17:906:b28b:b0:6cc:734c:812d with SMTP id q11-20020a170906b28b00b006cc734c812dmr1261132ejz.657.1645688405817; Wed, 23 Feb 2022 23:40:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645688405; cv=none; d=google.com; s=arc-20160816; b=EYUycYQLNhYBSWm10NcgwCiNLmhW9ONQ4QOuk3ax5BJ2qeFuyVaW66jBZlAtpSmXES lPKckxVBlq58t5zyQQs7Xl00jQZazjd1e2Fgn/9GqC3J8YLRZACrdKJLyxCxFNDffA2L a9OTJeW67GI6gzCS7xBC2Ra1H8dhGrYTe4xOYplknlimKOUUQWEarDXH09DFQUNnezEA 7D9ohXi6WZNN/aqH9U4lpXemrTgOtfUutxaKfz3GFjLOnF0Ay3tgQF+PglDtGCmHRUmW bC6tUWotx4iYtsLP76ohhIhXLwdRwjAzJH/COLUnDq0RieIKRAzpuG2FfUg/bu4Tt9TM CggA== 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=O2R0ocwVevWtEjtEOQ+p4PJmgB3edU5qPkZP2cC4ouQ=; b=bomIu8mIdFefZ0/WIl3H0ax4ZDQrI4RAuPjCo+goLpUltn6fuFsvUl38gfUhwJ4Yok CNO5Vzcsk48V3/+rt6gFZfMravc2GZghy9JpW4e62kLOHwPqSoTPiVR36aZEtG+xxtTQ RgxIeSIthJsiN+RfjFZCwk40JB9tX1uZL9IqwPaf9+UoaJzXHfbiX14PscuX1nj+k8Id VgoukbRg5qoJP/1zLJGZhW8cj+xf5mmEy3PCyvdMM9DklL7eujz6+HIIKlHIZ8UEJi1N UdS2T25sEpB+mdgN4pEPCsUNRRRQlbTSzGcdjQQUB5AP2mUt1GfDgJ1UCHbj/1NsmYkf 9K/w== 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 q20si1322567edd.61.2022.02.23.23.39.41; Wed, 23 Feb 2022 23:40:05 -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 S231307AbiBXG15 (ORCPT + 99 others); Thu, 24 Feb 2022 01:27:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231318AbiBXG1v (ORCPT ); Thu, 24 Feb 2022 01:27:51 -0500 Received: from out30-130.freemail.mail.aliyun.com (out30-130.freemail.mail.aliyun.com [115.124.30.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95B7827CE4 for ; Wed, 23 Feb 2022 22:27:20 -0800 (PST) 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 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 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) { -- 2.20.1.7.g153144c