Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp970167iob; Fri, 13 May 2022 18:06:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwzl1zunTkA1VyHP9dS9aOxWnxi/deEbSkkRCeNjz+lDHsga7U7dUKeg7ptXgJQY1OmYuX4 X-Received: by 2002:a5d:4e92:0:b0:20a:cafc:ebf1 with SMTP id e18-20020a5d4e92000000b0020acafcebf1mr5620707wru.17.1652490361967; Fri, 13 May 2022 18:06:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652490361; cv=none; d=google.com; s=arc-20160816; b=rpOyl6e8jnROpdmAN8AiwKiYBooCs3nuxbY25gtBpHfSwvMDbuVi/i1sE82C3dVtEk GooJ78+6U2IpgstSpEmUeczkgxqtM0Yl0GP3ez2JY+IGViwWHy1jEO135SmCcOIkIXgh zOwaLCvYCay1/s6oihSnFBrc8HuRrzQIn6PG5+OzlVe8VYPXY+u7HSpV8HsjLIWTJ0e7 CaVNo+g27/kM29NmisJe2jGXij7SWHkDVdkwgBMmPR6dq1DgTQqd801WNOxrO2orpHeC wuLDtQKdtcYAblZ0Hook1v68/tdTqqKIoZKTSre8OAT24LA5E7EH/Z0SCpeudCwA7s1y ikkw== 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=F0yaO9A0hG139A7OiNNf9Y3id/PTuqPHmEevEatMOIU=; b=PwurLsm7RxUzzLF0SLR0TrDw1ATdCFRzC+BHzhPuyp+FIrX1MiGwnTq2ymmPkdzxfa OxIeTqpxlUOu3cHiBurh9cEHR5YdRve4Qa3H7zFN4/FIs/WfmH7SGd2o6ifGWh6w/Ef0 RigD2++LrJt0mvMtJy2uNMAZb2Pz+bI5wgbKwkfaskN6SRXNtTV37nIbmFBQnTuGtw8f jsKLYsfkwHbVd4VhQ9gx7dEjDKES271TC0LA/I/27oV0N5lYqgvbe0fk3cpSfFCXwwCf t5ht5pTfbScdTM9VC/k0lxA/GJuSlYoH0BFPBplo9R8DQAGPTBVp69EmxxDZbOP4ZIq/ 6oOA== 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:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id n41-20020a05600c502900b0038c9ea061c9si3772443wmr.182.2022.05.13.18.06.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 18:06:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 84A1137E4E1; Fri, 13 May 2022 16:38:48 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351216AbiELHyt (ORCPT + 99 others); Thu, 12 May 2022 03:54:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348169AbiELHys (ORCPT ); Thu, 12 May 2022 03:54:48 -0400 Received: from out30-56.freemail.mail.aliyun.com (out30-56.freemail.mail.aliyun.com [115.124.30.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BAF945067; Thu, 12 May 2022 00:54:46 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R131e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04394;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0VCzpi4s_1652342074; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VCzpi4s_1652342074) by smtp.aliyun-inc.com(127.0.0.1); Thu, 12 May 2022 15:54:34 +0800 From: Yang Li To: tytso@mit.edu Cc: jack@suse.com, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] fs: Fix jbd2_journal_try_to_free_buffers() kernel-doc comment Date: Thu, 12 May 2022 15:54:32 +0800 Message-Id: <20220512075432.31763-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=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no 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 Add the description of @folio and remove @page in function kernel-doc comment to remove warnings found by running scripts/kernel-doc, which is caused by using 'make W=1'. fs/jbd2/transaction.c:2149: warning: Function parameter or member 'folio' not described in 'jbd2_journal_try_to_free_buffers' fs/jbd2/transaction.c:2149: warning: Excess function parameter 'page' description in 'jbd2_journal_try_to_free_buffers' Reported-by: Abaci Robot Signed-off-by: Yang Li --- fs/jbd2/transaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/jbd2/transaction.c b/fs/jbd2/transaction.c index e49bb0938376..e9c308ae475f 100644 --- a/fs/jbd2/transaction.c +++ b/fs/jbd2/transaction.c @@ -2114,7 +2114,7 @@ __journal_try_to_free_buffer(journal_t *journal, struct buffer_head *bh) /** * jbd2_journal_try_to_free_buffers() - try to free page buffers. * @journal: journal for operation - * @page: to try and free + * @folio: Folio to detach data from. * * For all the buffers on this page, * if they are fully written out ordered data, move them onto BUF_CLEAN -- 2.20.1.7.g153144c