* [nfs:testing 18/19] fs/nfs/dir.c:196:51-52: Unneeded semicolon
@ 2019-07-07 16:46 kbuild test robot
2019-07-07 16:46 ` [PATCH] NFS: fix semicolon.cocci warnings kbuild test robot
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2019-07-07 16:46 UTC (permalink / raw)
To: Trond Myklebust; +Cc: kbuild-all, linux-nfs
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
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
coccinelle warnings: (new ones prefixed by >>)
>> fs/nfs/dir.c:196:51-52: Unneeded semicolon
Please review and possibly fold the followup patch.
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] NFS: fix semicolon.cocci warnings
2019-07-07 16:46 [nfs:testing 18/19] fs/nfs/dir.c:196:51-52: Unneeded semicolon kbuild test robot
@ 2019-07-07 16:46 ` kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2019-07-07 16:46 UTC (permalink / raw)
To: Trond Myklebust; +Cc: kbuild-all, linux-nfs
From: kbuild test robot <lkp@intel.com>
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@intel.com>
---
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;
/*
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-07-07 16:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-07 16:46 [nfs:testing 18/19] fs/nfs/dir.c:196:51-52: Unneeded semicolon kbuild test robot
2019-07-07 16:46 ` [PATCH] NFS: fix semicolon.cocci warnings kbuild test robot
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).