mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next] fs/afs: convert comma to semicolon
@ 2020-12-11  8:38 Zheng Yongjun
  2020-12-11  9:12 ` Joe Perches
  0 siblings, 1 reply; 2+ messages in thread
From: Zheng Yongjun @ 2020-12-11  8:38 UTC (permalink / raw)
  To: dhowells, linux-afs, linux-kernel; +Cc: Zheng Yongjun

Replace a comma between expression statements by a semicolon.

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
---
 fs/afs/inode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/afs/inode.c b/fs/afs/inode.c
index b0d7b892090d..da728210cdb8 100644
--- a/fs/afs/inode.c
+++ b/fs/afs/inode.c
@@ -502,7 +502,7 @@ static int afs_iget5_set_root(struct inode *inode, void *opaque)
 	struct afs_vnode *vnode = AFS_FS_I(inode);
 
 	vnode->volume		= as->volume;
-	vnode->fid.vid		= as->volume->vid,
+	vnode->fid.vid		= as->volume->vid;
 	vnode->fid.vnode	= 1;
 	vnode->fid.unique	= 1;
 	inode->i_ino		= 1;
-- 
2.22.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] fs/afs: convert comma to semicolon
  2020-12-11  8:38 [PATCH -next] fs/afs: convert comma to semicolon Zheng Yongjun
@ 2020-12-11  9:12 ` Joe Perches
  0 siblings, 0 replies; 2+ messages in thread
From: Joe Perches @ 2020-12-11  9:12 UTC (permalink / raw)
  To: Zheng Yongjun, dhowells, linux-afs, linux-kernel; +Cc: Julia Lawall

On Fri, 2020-12-11 at 16:38 +0800, Zheng Yongjun wrote:
> Replace a comma between expression statements by a semicolon.

If you are using a tool to find and fix these, you should mention the tool.

btw: using Julia Lawall's cocci script to update these is probably best.

https://lore.kernel.org/lkml/alpine.DEB.2.22.394.2008201856110.2524@hadrien/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-11  9:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-11  8:38 [PATCH -next] fs/afs: convert comma to semicolon Zheng Yongjun
2020-12-11  9:12 ` Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®