lkml.org 
[lkml]   [2023]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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 <wangkailong@jari.cn>
---
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
\
 
 \ /
  Last update: 2023-09-28 04:50    [W:0.051 / U:0.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site