[PATCH] NFS: fix semicolon.cocci warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: kbuild test robot <lkp@xxxxxxxxx>

fs/nfs/dir.c:196:51-52: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: 36cdd6c6a841 ("NFS: Ensure cached readdir info is NUL terminated")
Signed-off-by: kbuild test robot <lkp@xxxxxxxxx>
---

tree:   git://git.linux-nfs.org/projects/trondmy/linux-nfs.git testing
head:   c433a7975cfc839906aaa891f68d86ca228f7e43
commit: 36cdd6c6a8416b6a455ddc0b104eaf94eb37d39e [18/19] NFS: Ensure cached readdir info is NUL terminated

 dir.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
@@ -193,7 +193,7 @@ static
 int nfs_readdir_make_qstr(struct qstr *string, const char *name, unsigned int len)
 {
 	string->len = len;
-	string->name = kmemdup_nul(name, len, GFP_KERNEL);;
+	string->name = kmemdup_nul(name, len, GFP_KERNEL);
 	if (string->name == NULL)
 		return -ENOMEM;
 	/*



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux