linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND] 9p: Remove unneeded semicolon
@ 2019-12-19 10:48 zhengbin
  2019-12-19 11:34 ` Dominique Martinet
  0 siblings, 1 reply; 2+ messages in thread
From: zhengbin @ 2019-12-19 10:48 UTC (permalink / raw)
  To: ericvh, lucho, asmadeus, v9fs-developer; +Cc: linux-kernel, zhengbin13

Fixes coccicheck warning:

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

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
---
 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


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

* Re: [PATCH RESEND] 9p: Remove unneeded semicolon
  2019-12-19 10:48 [PATCH RESEND] 9p: Remove unneeded semicolon zhengbin
@ 2019-12-19 11:34 ` Dominique Martinet
  0 siblings, 0 replies; 2+ messages in thread
From: Dominique Martinet @ 2019-12-19 11:34 UTC (permalink / raw)
  To: zhengbin; +Cc: ericvh, lucho, v9fs-developer, linux-kernel

zhengbin wrote on Thu, Dec 19, 2019:
> Fixes coccicheck warning:
> 
> fs/9p/vfs_inode.c:146:3-4: Unneeded semicolon
> 
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: zhengbin <zhengbin13@huawei.com>

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

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

end of thread, other threads:[~2019-12-19 11:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-19 10:48 [PATCH RESEND] 9p: Remove unneeded semicolon zhengbin
2019-12-19 11:34 ` Dominique Martinet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).