aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/systbl_chk.sh
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2018-04-30 13:27:36 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2018-05-10 23:25:16 +1000
commit53da14d0833a663cb98ef111ed91c575f2da9236 (patch)
tree6b43af5d94271af1b8c28e9293dfccd90c820fb4 /arch/powerpc/kernel/systbl_chk.sh
parentpowerpc/syscalls: timer_create can be handle by perfectly normal COMPAT_SYS_SPU (diff)
downloadlinux-dev-53da14d0833a663cb98ef111ed91c575f2da9236.tar.xz
linux-dev-53da14d0833a663cb98ef111ed91c575f2da9236.zip
powerpc: Make it clearer that systbl check errors are errors
If the systbl_chk.sh checks fail we print a message, but with no indication that it's an error. That makes it hard to find in build logs with eg. grep. So prefix any output with "Error:". Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/systbl_chk.sh')
-rw-r--r--arch/powerpc/kernel/systbl_chk.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/systbl_chk.sh b/arch/powerpc/kernel/systbl_chk.sh
index 31b6e7c358ca..f2e356c2a345 100644
--- a/arch/powerpc/kernel/systbl_chk.sh
+++ b/arch/powerpc/kernel/systbl_chk.sh
@@ -16,7 +16,7 @@ awk 'BEGIN { num = -1; } # Ignore the beginning of the file
/^START_TABLE/ { num = 0; next; }
/^END_TABLE/ {
if (num != $2) {
- printf "NR_syscalls (%s) is not one more than the last syscall (%s)\n",
+ printf "Error: NR_syscalls (%s) is not one more than the last syscall (%s)\n",
$2, num - 1;
exit(1);
}
@@ -25,7 +25,7 @@ awk 'BEGIN { num = -1; } # Ignore the beginning of the file
{
if (num == -1) next;
if (($1 != -1) && ($1 != num)) {
- printf "Syscall %s out of order (expected %s)\n",
+ printf "Error: Syscall %s out of order (expected %s)\n",
$1, num;
exit(1);
};