* [PATCH] nfsd: remove unneeded semicolon
@ 2020-11-01 15:32 trix
2020-11-02 14:31 ` Chuck Lever
0 siblings, 1 reply; 2+ messages in thread
From: trix @ 2020-11-01 15:32 UTC (permalink / raw)
To: bfields, chuck.lever; +Cc: linux-nfs, linux-kernel, Tom Rix
From: Tom Rix <trix@redhat.com>
A semicolon is not needed after a switch statement.
Signed-off-by: Tom Rix <trix@redhat.com>
---
fs/nfsd/nfs4xdr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c
index 259d5ad0e3f4..6020f0ff6795 100644
--- a/fs/nfsd/nfs4xdr.c
+++ b/fs/nfsd/nfs4xdr.c
@@ -2558,7 +2558,7 @@ static u32 nfs4_file_type(umode_t mode)
case S_IFREG: return NF4REG;
case S_IFSOCK: return NF4SOCK;
default: return NF4BAD;
- };
+ }
}
static inline __be32
--
2.18.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] nfsd: remove unneeded semicolon
2020-11-01 15:32 [PATCH] nfsd: remove unneeded semicolon trix
@ 2020-11-02 14:31 ` Chuck Lever
0 siblings, 0 replies; 2+ messages in thread
From: Chuck Lever @ 2020-11-02 14:31 UTC (permalink / raw)
To: trix, Bruce Fields; +Cc: Linux NFS Mailing List, open list
> On Nov 1, 2020, at 10:32 AM, trix@redhat.com wrote:
>
> From: Tom Rix <trix@redhat.com>
>
> A semicolon is not needed after a switch statement.
>
> Signed-off-by: Tom Rix <trix@redhat.com>
> ---
> fs/nfsd/nfs4xdr.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c
> index 259d5ad0e3f4..6020f0ff6795 100644
> --- a/fs/nfsd/nfs4xdr.c
> +++ b/fs/nfsd/nfs4xdr.c
> @@ -2558,7 +2558,7 @@ static u32 nfs4_file_type(umode_t mode)
> case S_IFREG: return NF4REG;
> case S_IFSOCK: return NF4SOCK;
> default: return NF4BAD;
> - };
> + }
> }
>
> static inline __be32
> --
> 2.18.1
>
I can take this for 5.11.
--
Chuck Lever
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-02 14:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-01 15:32 [PATCH] nfsd: remove unneeded semicolon trix
2020-11-02 14:31 ` Chuck Lever
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox