projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2972e30
)
script/sorttable: Code style improvements
author
Yinan Liu
<yinan@linux.alibaba.com>
Tue, 7 Dec 2021 15:13:47 +0000
(23:13 +0800)
committer
Steven Rostedt (VMware)
<rostedt@goodmis.org>
Sat, 11 Dec 2021 14:34:31 +0000
(09:34 -0500)
Modified the code style issue of if() {},
keep the code style consistent.
Link:
https://lkml.kernel.org/r/20211207151348.54921-3-yinan@linux.alibaba.com
Signed-off-by: Yinan Liu <yinan@linux.alibaba.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
scripts/sorttable.h
patch
|
blob
|
history
diff --git
a/scripts/sorttable.h
b/scripts/sorttable.h
index a2baa2fefb137935e0fb2b45932e9106d6c86910..7b9745cf8c7091daf1df8a5f300670131de6856f 100644
(file)
--- a/
scripts/sorttable.h
+++ b/
scripts/sorttable.h
@@
-364,11
+364,11
@@
out:
void *retval = NULL;
/* wait for ORC tables sort done */
rc = pthread_join(orc_sort_thread, &retval);
- if (rc)
+ if (rc)
{
fprintf(stderr,
"pthread_join failed '%s': %s\n",
strerror(errno), fname);
- else if (retval) {
+
}
else if (retval) {
rc = -1;
fprintf(stderr,
"failed to sort ORC tables '%s': %s\n",