[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211202021606.48812-3-yinan@linux.alibaba.com>
Date: Thu, 2 Dec 2021 10:16:06 +0800
From: Yinan Liu <yinan@...ux.alibaba.com>
To: rostedt@...dmis.org
Cc: peterz@...radead.org, mark-pk.tsai@...iatek.com, mingo@...hat.com,
linux-kernel@...r.kernel.org
Subject: [PATCH v6 2/2] script/sorttable: code style improvements
Modified the code style issue of if() {},
keep the code style consistent.
Signed-off-by: Yinan Liu <yinan@...ux.alibaba.com>
---
scripts/sorttable.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/sorttable.h b/scripts/sorttable.h
index a7a5b8078954..7d51e53ba6aa 100644
--- a/scripts/sorttable.h
+++ b/scripts/sorttable.h
@@ -462,11 +462,11 @@ static int do_sort(Elf_Ehdr *ehdr,
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",
--
2.19.1.6.gb485710b
Powered by blists - more mailing lists