Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1183046pxk; Fri, 18 Sep 2020 06:08:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1vaabb5u23nEW4zapryQ7t/BDyHTXDyVkfSroutROJ4yBs8l4GnsMzcEKfkjqCOV5tE6i X-Received: by 2002:a05:6402:d3:: with SMTP id i19mr32382932edu.320.1600434495186; Fri, 18 Sep 2020 06:08:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600434495; cv=none; d=google.com; s=arc-20160816; b=sL2FhzPD/XvOVEltNWwS08NgRa+NCrbmjPL4Pkn4MC18qRHefGSye/rXfyqjBHMzkW PgJoe82bbq7nEa4nAlir4sLurLxpuu0CTwtStWcJraj7aN7XaYeMthvXmPdlew5GMXbe ZlT75t1d9E9e7R5GZBC3ObZge6Fb+P+CkUtIGJhXxAAZF+l00Jg6fkqg1HJh9c4AYQS8 fIIPC8ePcF46UmNr/zH7V7Gv0bJo7/pACH+aLO6JwfE1zvx4wCso6fkceJOum8GusC8O U1qbXAQECqDpaEztzR73Jgso+LN1xkKxez3wRzq9OlYkWAYt78jSxXkQtW2tCMSMFtpc w08Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ZUoctTKvMEX46atc5bG0ZTqxvB+PI1w0uFEi2bv4h1M=; b=ytgbD4lyIG2kGb0jd8YAhBaBO/6QOfpGhUpPkWLzhblx48Zd3idMy12yqpFR4ZKVUf a5Icu4fNfDY6bb4ocHvWICCpmM3mS1mGBVXhb6Wg+2ouT7+g2nxlh3KK2W2VC7Ohcr+p gBpMUaFTW50hrmrGln/ey1+ArdTAUCC2CXVhfkTLsuDW/rlWMjRCIx9cbX/nKBHQDHso sCAS3lakFe59PjBMWTQHMrDHrArxPBt39D+WGqS2ujXjFiP7CoaKnzNh/T06T7Al3NIe a9oowjNS2OmAnDgDGt/OWDwPUQUpEpZKLOBucAv7VdMgGNvgx2TOEC2g7Qd8fz8h2BOq cQtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SPq1lp3u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rn4si2573121ejb.132.2020.09.18.06.07.51; Fri, 18 Sep 2020 06:08:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SPq1lp3u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726548AbgIRNGp (ORCPT + 99 others); Fri, 18 Sep 2020 09:06:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726436AbgIRNGp (ORCPT ); Fri, 18 Sep 2020 09:06:45 -0400 Received: from mail-ej1-x643.google.com (mail-ej1-x643.google.com [IPv6:2a00:1450:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 560C0C06174A; Fri, 18 Sep 2020 06:06:45 -0700 (PDT) Received: by mail-ej1-x643.google.com with SMTP id lo4so7999254ejb.8; Fri, 18 Sep 2020 06:06:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZUoctTKvMEX46atc5bG0ZTqxvB+PI1w0uFEi2bv4h1M=; b=SPq1lp3uxcES/OcfFU/VY4a5pAoYxXmdkgWMEXgqHYZ4a1/HI2WnMX80OQXtrO/wQW mivf3ef6ELDDUsrAMYSnSAh8eo6f0h7+12vr4cD9rdT703QwMZIA675bOFpOTnOQgtZ1 lxaNUwgOfVzOGeYVgg37TxUaY5tA+ntAqUgUg3P9DxZW/CTTynNPJclPX0UAUiMAviNB b5VC2kEh17T+08s+sL5sOtFVgtGaduzEn935hyXcsrRJZwg7UfdFh10bzEA2+biXODZj wnnwju6xuUYup3sLXyecTS69YRUIvc6dyEts7aXYsRfBPvBHR7cngfiabd1XI5wD8mih UUpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZUoctTKvMEX46atc5bG0ZTqxvB+PI1w0uFEi2bv4h1M=; b=oQB7cYFUYXcvXtObCA5sofFzM9RHerRqTrNIxC5R4ZLhhtekfIEbK3dAt5DaPuOevr jl3cooFkKJQK95Lx9b7IH3qqSEe+FZOxdPANxK/ADglkzggOpp4p6E164bEf/lUa+bcS l4vU4wNEPDAO9N2QaRKHu82JYkbOin1BQZYauVPMIAxI4/mGkh/bjXx7Fio5cyMf+mmG 95k3xhZT+2vEzrB3JNsvjkDEDH3My6QLCkBClCsfLZckI0mWrQwjlKrKK5+TSuEexeN5 lxsVp+R9tkMh4ZnBYqoDQG3WVG7K4E8WAsMrqEDceJ+hMTlq4rpI7zAA3c27IR+v1ZWs z+Aw== X-Gm-Message-State: AOAM531/4C9Li/QVJi7E1Wvz+kMO0NeBMvOmGn0gK2EqJ6krL8fCpufr A9HIC50Mj/bePLvaNKyw3jLGr5UjiVdQJFXXZ5IezT4SJ+Ijtw== X-Received: by 2002:a17:906:4b41:: with SMTP id j1mr35239575ejv.1.1600434403808; Fri, 18 Sep 2020 06:06:43 -0700 (PDT) MIME-Version: 1.0 References: <20200918123640.72014-1-wanghai38@huawei.com> In-Reply-To: <20200918123640.72014-1-wanghai38@huawei.com> From: Ryusuke Konishi Date: Fri, 18 Sep 2020 22:06:32 +0900 Message-ID: Subject: Re: [PATCH -next] nilfs2: Fix some kernel-doc warnings for nilfs2 To: Wang Hai Cc: linux-nilfs , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Wang, The patch looks correct. Will apply, thank you. Ryusuke Konishi On Fri, Sep 18, 2020 at 9:40 PM Wang Hai wrote: > > Fixes the following W=1 kernel build warning(s): > > fs/nilfs2/bmap.c:378: warning: Excess function parameter 'bhp' description in 'nilfs_bmap_assign' > fs/nilfs2/cpfile.c:907: warning: Excess function parameter 'status' description in 'nilfs_cpfile_change_cpmode' > fs/nilfs2/cpfile.c:946: warning: Excess function parameter 'stat' description in 'nilfs_cpfile_get_stat' > fs/nilfs2/page.c:76: warning: Excess function parameter 'inode' description in 'nilfs_forget_buffer' > fs/nilfs2/sufile.c:563: warning: Excess function parameter 'stat' description in 'nilfs_sufile_get_stat' > > Signed-off-by: Wang Hai > --- > fs/nilfs2/bmap.c | 2 +- > fs/nilfs2/cpfile.c | 6 +++--- > fs/nilfs2/page.c | 1 - > fs/nilfs2/sufile.c | 4 ++-- > 4 files changed, 6 insertions(+), 7 deletions(-) > > diff --git a/fs/nilfs2/bmap.c b/fs/nilfs2/bmap.c > index e516ae389ca5..5900879d5693 100644 > --- a/fs/nilfs2/bmap.c > +++ b/fs/nilfs2/bmap.c > @@ -355,7 +355,7 @@ void nilfs_bmap_lookup_dirty_buffers(struct nilfs_bmap *bmap, > /** > * nilfs_bmap_assign - assign a new block number to a block > * @bmap: bmap > - * @bhp: pointer to buffer head > + * @bh: pointer to buffer head > * @blocknr: block number > * @binfo: block information > * > diff --git a/fs/nilfs2/cpfile.c b/fs/nilfs2/cpfile.c > index 86d4d850d130..025fb082575a 100644 > --- a/fs/nilfs2/cpfile.c > +++ b/fs/nilfs2/cpfile.c > @@ -889,7 +889,7 @@ int nilfs_cpfile_is_snapshot(struct inode *cpfile, __u64 cno) > * nilfs_cpfile_change_cpmode - change checkpoint mode > * @cpfile: inode of checkpoint file > * @cno: checkpoint number > - * @status: mode of checkpoint > + * @mode: mode of checkpoint > * > * Description: nilfs_change_cpmode() changes the mode of the checkpoint > * specified by @cno. The mode @mode is NILFS_CHECKPOINT or NILFS_SNAPSHOT. > @@ -930,12 +930,12 @@ int nilfs_cpfile_change_cpmode(struct inode *cpfile, __u64 cno, int mode) > /** > * nilfs_cpfile_get_stat - get checkpoint statistics > * @cpfile: inode of checkpoint file > - * @stat: pointer to a structure of checkpoint statistics > + * @cpstat: pointer to a structure of checkpoint statistics > * > * Description: nilfs_cpfile_get_stat() returns information about checkpoints. > * > * Return Value: On success, 0 is returned, and checkpoints information is > - * stored in the place pointed by @stat. On error, one of the following > + * stored in the place pointed by @cpstat. On error, one of the following > * negative error codes is returned. > * > * %-EIO - I/O error. > diff --git a/fs/nilfs2/page.c b/fs/nilfs2/page.c > index b175f1330408..171fb5cd427f 100644 > --- a/fs/nilfs2/page.c > +++ b/fs/nilfs2/page.c > @@ -69,7 +69,6 @@ struct buffer_head *nilfs_grab_buffer(struct inode *inode, > > /** > * nilfs_forget_buffer - discard dirty state > - * @inode: owner inode of the buffer > * @bh: buffer head of the buffer to be discarded > */ > void nilfs_forget_buffer(struct buffer_head *bh) > diff --git a/fs/nilfs2/sufile.c b/fs/nilfs2/sufile.c > index 42ff67c0c14f..63722475e17e 100644 > --- a/fs/nilfs2/sufile.c > +++ b/fs/nilfs2/sufile.c > @@ -546,13 +546,13 @@ int nilfs_sufile_set_segment_usage(struct inode *sufile, __u64 segnum, > /** > * nilfs_sufile_get_stat - get segment usage statistics > * @sufile: inode of segment usage file > - * @stat: pointer to a structure of segment usage statistics > + * @sustat: pointer to a structure of segment usage statistics > * > * Description: nilfs_sufile_get_stat() returns information about segment > * usage. > * > * Return Value: On success, 0 is returned, and segment usage information is > - * stored in the place pointed by @stat. On error, one of the following > + * stored in the place pointed by @sustat. On error, one of the following > * negative error codes is returned. > * > * %-EIO - I/O error. > -- > 2.17.1 >