2019-12-19 10:42:24

by Zheng Bin

[permalink] [raw]
Subject: [PATCH RESEND] 9p: Remove unneeded semicolon

Fixes coccicheck warning:

fs/9p/vfs_inode.c:146:3-4: Unneeded semicolon

Reported-by: Hulk Robot <[email protected]>
Signed-off-by: zhengbin <[email protected]>
---
fs/9p/vfs_inode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c
index b82423a..c9255d3 100644
--- a/fs/9p/vfs_inode.c
+++ b/fs/9p/vfs_inode.c
@@ -143,7 +143,7 @@ static umode_t p9mode2unixmode(struct v9fs_session_info *v9ses,
default:
p9_debug(P9_DEBUG_ERROR, "Unknown special type %c %s\n",
type, stat->extension);
- };
+ }
*rdev = MKDEV(major, minor);
} else
res |= S_IFREG;
--
2.7.4


2019-12-19 11:35:23

by Dominique Martinet

[permalink] [raw]
Subject: Re: [PATCH RESEND] 9p: Remove unneeded semicolon

zhengbin wrote on Thu, Dec 19, 2019:
> Fixes coccicheck warning:
>
> fs/9p/vfs_inode.c:146:3-4: Unneeded semicolon
>
> Reported-by: Hulk Robot <[email protected]>
> Signed-off-by: zhengbin <[email protected]>

Taken, will be in linux-next in the next few days.

Please note I won't submit a pull request to Linus if I only have this
so it might take an extra couple of months to get in depending on what
patches get sent.

--
Dominique