]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
x86/decoder: Use stdout if insn decoder test is successful
authorPaul Bolle <pebolle@tiscali.nl>
Tue, 25 Oct 2016 20:56:04 +0000 (22:56 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 26 Oct 2016 06:41:06 +0000 (08:41 +0200)
commitbdcc18b548b8f1fab23c097724c6f32daac03185
treedc0f8a93867ff3697d54e155c427dc122c6eb95d
parentadb1fe9ae2ee6ef6bc10f3d5a588020e7664dfa7
x86/decoder: Use stdout if insn decoder test is successful

If the instruction decoder test ran successful it prints a message like
this to stderr:
    Succeed: decoded and checked 1767380 instructions

But, as described in "console mode programming user interface guidelines
version 101" which doesn't exist, programs should use stderr for errors
or warnings. We're told about a successful run here, so the instruction
decoder test should use stdout.

Let's fix the typo too, while we're at it.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1477428965-20548-2-git-send-email-pebolle@tiscali.nl
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/tools/test_get_len.c