2023-09-28 02:49:54

by KaiLong Wang

[permalink] [raw]
Subject: [PATCH] NFSD: Clean up errors in xdr.h

Fix the following errors reported by checkpatch:

ERROR: "foo * bar" should be "foo *bar"

Signed-off-by: KaiLong Wang <[email protected]>
---
fs/nfsd/xdr.h | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/fs/nfsd/xdr.h b/fs/nfsd/xdr.h
index 852f71580bd0..e2797eb2668d 100644
--- a/fs/nfsd/xdr.h
+++ b/fs/nfsd/xdr.h
@@ -19,7 +19,7 @@ struct nfsd_sattrargs {

struct nfsd_diropargs {
struct svc_fh fh;
- char * name;
+ char *name;
unsigned int len;
};

@@ -38,32 +38,32 @@ struct nfsd_writeargs {

struct nfsd_createargs {
struct svc_fh fh;
- char * name;
+ char *name;
unsigned int len;
struct iattr attrs;
};

struct nfsd_renameargs {
struct svc_fh ffh;
- char * fname;
+ char *fname;
unsigned int flen;
struct svc_fh tfh;
- char * tname;
+ char *tname;
unsigned int tlen;
};

struct nfsd_linkargs {
struct svc_fh ffh;
struct svc_fh tfh;
- char * tname;
+ char *tname;
unsigned int tlen;
};

struct nfsd_symlinkargs {
struct svc_fh ffh;
- char * fname;
+ char *fname;
unsigned int flen;
- char * tname;
+ char *tname;
unsigned int tlen;
struct iattr attrs;
struct kvec first;
--
2.17.1