From: Heiko Carstens Date: Tue, 25 Sep 2012 00:17:33 +0000 (-0700) Subject: checksyscalls: fix "here document" handling X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0e75898fe2499ece0ac3f1475982a828b3283b0d;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git checksyscalls: fix "here document" handling "echo" doesn't read from stdin, therefore the checksyscalls script didn't warn about not implemented system calls anymore since 29dc54c6 ("checksyscalls: Use arch/x86/syscalls/syscall_32.tbl as source"). Use "cat" instead of "echo" which handles this correctly. Signed-off-by: Heiko Carstens Cc: Michal Marek Cc: H. Peter Anvin Cc: Cyrill Gorcunov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/scripts/checksyscalls.sh b/scripts/checksyscalls.sh index d24810fc6af..fd8fa9aa7c4 100755 --- a/scripts/checksyscalls.sh +++ b/scripts/checksyscalls.sh @@ -200,7 +200,7 @@ EOF syscall_list() { grep '^[0-9]' "$1" | sort -n | ( while read nr abi name entry ; do - echo <