From: "J. Bruce Fields" <bfields@fieldses.org>
To: zhengbin <zhengbin13@huawei.com>
Cc: chuck.lever@oracle.com, linux-nfs@vger.kernel.org
Subject: Re: [PATCH] nfsd4: Remove unneeded semicolon
Date: Thu, 19 Dec 2019 17:43:02 -0500 [thread overview]
Message-ID: <20191219224302.GD12026@fieldses.org> (raw)
In-Reply-To: <1576747760-120195-1-git-send-email-zhengbin13@huawei.com>
Thanks, applying.--b.
On Thu, Dec 19, 2019 at 05:29:20PM +0800, zhengbin wrote:
> Fixes coccicheck warning:
>
> fs/nfsd/nfs4state.c:3376:2-3: Unneeded semicolon
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: zhengbin <zhengbin13@huawei.com>
> ---
> fs/nfsd/nfs4state.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
> index 369e574..54c2917 100644
> --- a/fs/nfsd/nfs4state.c
> +++ b/fs/nfsd/nfs4state.c
> @@ -3373,7 +3373,7 @@ static __be32 nfsd4_map_bcts_dir(u32 *dir)
> case NFS4_CDFC4_BACK_OR_BOTH:
> *dir = NFS4_CDFC4_BOTH;
> return nfs_ok;
> - };
> + }
> return nfserr_inval;
> }
>
> --
> 2.7.4
prev parent reply other threads:[~2019-12-19 22:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-19 9:29 [PATCH] nfsd4: Remove unneeded semicolon zhengbin
2019-12-19 22:43 ` J. Bruce Fields [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191219224302.GD12026@fieldses.org \
--to=bfields@fieldses.org \
--cc=chuck.lever@oracle.com \
--cc=linux-nfs@vger.kernel.org \
--cc=zhengbin13@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).