projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c1baad
)
tools/testing: Fix trailing semicolon
author
Luis de Bethencourt
<luisbg@kernel.org>
Thu, 11 Jan 2018 13:46:07 +0000
(13:46 +0000)
committer
Shuah Khan
<shuahkh@osg.samsung.com>
Fri, 12 Jan 2018 18:41:33 +0000
(11:41 -0700)
The trailing semicolon is an empty statement that does no operation.
Removing it since it doesn't do anything.
Signed-off-by: Luis de Bethencourt <luisbg@kernel.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/nsfs/pidns.c
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/nsfs/pidns.c
b/tools/testing/selftests/nsfs/pidns.c
index 1182d4e437a2c16ecbffd5c11e83e4b7faadd3da..e0d86e1668c01882e542de42cacd3bdc82364432 100644
(file)
--- a/
tools/testing/selftests/nsfs/pidns.c
+++ b/
tools/testing/selftests/nsfs/pidns.c
@@
-70,7
+70,7
@@
int main(int argc, char *argv[])
return pr_err("NS_GET_PARENT returned a wrong namespace");
if (ioctl(pns, NS_GET_PARENT) >= 0 || errno != EPERM)
- return pr_err("Don't get EPERM");
;
+ return pr_err("Don't get EPERM");
}
kill(pid, SIGKILL);