mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] objtool: Remove unneeded semicolon
@ 2025-10-20  2:09 Chen Ni
  2025-10-31 11:04 ` [tip: objtool/core] " tip-bot2 for Chen Ni
  0 siblings, 1 reply; 3+ messages in thread
From: Chen Ni @ 2025-10-20  2:09 UTC (permalink / raw)
  To: jpoimboe, peterz; +Cc: linux-kernel, Chen Ni

Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
---
 tools/objtool/elf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/objtool/elf.c b/tools/objtool/elf.c
index 5feeefc7fc8f..3f20b257ab25 100644
--- a/tools/objtool/elf.c
+++ b/tools/objtool/elf.c
@@ -451,7 +451,7 @@ static const char *demangle_name(struct symbol *sym)
 			str[i + 1] = '\0';
 			break;
 		}
-	};
+	}
 
 	return str;
 }
-- 
2.25.1


^ permalink raw reply	[flat|nested] 3+ messages in thread
* [tip: objtool/core] objtool: Remove unneeded semicolon
@ 2025-10-16  9:53 tip-bot2 for Chen Ni
  0 siblings, 0 replies; 3+ messages in thread
From: tip-bot2 for Chen Ni @ 2025-10-16  9:53 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Chen Ni, Josh Poimboeuf, x86, linux-kernel

The following commit has been merged into the objtool/core branch of tip:

Commit-ID:     2e985fdb7e54293695a2a386e06e59d441efbe0f
Gitweb:        https://git.kernel.org/tip/2e985fdb7e54293695a2a386e06e59d441efbe0f
Author:        Chen Ni <nichen@iscas.ac.cn>
AuthorDate:    Mon, 07 Apr 2025 15:54:05 +08:00
Committer:     Josh Poimboeuf <jpoimboe@kernel.org>
CommitterDate: Tue, 14 Oct 2025 14:45:20 -07:00

objtool: Remove unneeded semicolon

Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
---
 tools/objtool/builtin-check.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/objtool/builtin-check.c b/tools/objtool/builtin-check.c
index 0f6b197..fcd4a65 100644
--- a/tools/objtool/builtin-check.c
+++ b/tools/objtool/builtin-check.c
@@ -243,7 +243,7 @@ static void save_argv(int argc, const char **argv)
 			ERROR_GLIBC("strdup(%s)", argv[i]);
 			exit(1);
 		}
-	};
+	}
 }
 
 void print_args(void)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-10-31 11:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-20  2:09 [PATCH] objtool: Remove unneeded semicolon Chen Ni
2025-10-31 11:04 ` [tip: objtool/core] " tip-bot2 for Chen Ni
  -- strict thread matches above, loose matches on Subject: below --
2025-10-16  9:53 tip-bot2 for Chen Ni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®