Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

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 29dc54c
("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 <>
  • Loading branch information...
commit 0e75898fe2499ece0ac3f1475982a828b3283b0d 1 parent a140b98
Heiko Carstens authored committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  scripts/
2  scripts/
@@ -200,7 +200,7 @@ EOF
syscall_list() {
grep '^[0-9]' "$1" | sort -n | (
while read nr abi name entry ; do
- echo <<EOF
+ cat <<EOF
#if !defined(__NR_${name}) && !defined(__IGNORE_${name})
#warning syscall ${name} not implemented
Please sign in to comment.
Something went wrong with that request. Please try again.