From: Ingo Molnar Date: Thu, 15 May 2025 13:27:11 +0000 (+0200) Subject: x86/tools: insn_sanity.c: Emit standard build success messages X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9df5e79bf1a30b94dc068ab2ed2279e40f430b88;p=thirdparty%2Flinux.git x86/tools: insn_sanity.c: Emit standard build success messages The standard 'success' output of insn_decoder_test spams build logs with: arch/x86/tools/insn_sanity: Success: decoded and checked 1000000 random instructions with 0 errors (seed:0x2e263877) Prefix the message with the standard ' ' (two spaces) used by kbuild to denote regular build messages, making it easier for tools to filter out warnings and errors. Signed-off-by: Ingo Molnar Signed-off-by: Borislav Petkov (AMD) Cc: Ard Biesheuvel Cc: Arnd Bergmann Cc: David Woodhouse Cc: H. Peter Anvin Cc: Jürgen Groß Cc: Linus Torvalds Cc: Masahiro Yamada Cc: Michal Marek Cc: Peter Zijlstra Cc: Vitaly Kuznetsov Link: https://lore.kernel.org/r/20250515132719.31868-6-mingo@kernel.org --- diff --git a/arch/x86/tools/insn_sanity.c b/arch/x86/tools/insn_sanity.c index 213f35f94feb1..e743f0ea01ee4 100644 --- a/arch/x86/tools/insn_sanity.c +++ b/arch/x86/tools/insn_sanity.c @@ -253,9 +253,9 @@ int main(int argc, char **argv) } fprintf((errors) ? stderr : stdout, - "%s: %s: decoded and checked %d %s instructions with %d errors (seed:0x%x)\n", + " %s: %s: Decoded and checked %d %s instructions with %d errors (seed:0x%x)\n", prog, - (errors) ? "Failure" : "Success", + (errors) ? "failure" : "success", insns, (input_file) ? "given" : "random", errors,