]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scripts/checkstack.pl: Fix arm64 wrong or unknown architecture
authorGeorge G. Davis <george_davis@mentor.com>
Mon, 3 Jun 2019 14:30:39 +0000 (10:30 -0400)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 4 Jun 2019 17:33:10 +0000 (02:33 +0900)
commit4f45d62a52297b10ded963412a158685647ecdec
tree58e39c5463a6c98f48c09385cc2ac2739771604a
parenta6e0487709ded7cd1ba0c390d9771e5cb76a8453
scripts/checkstack.pl: Fix arm64 wrong or unknown architecture

The following error occurs for the `make ARCH=arm64 checkstack` case:

aarch64-linux-gnu-objdump -d vmlinux $(find . -name '*.ko') | \
perl ./scripts/checkstack.pl arm64
wrong or unknown architecture "arm64"

As suggested by Masahiro Yamada, fix the above error using regular
expressions in the same way it was fixed for the `ARCH=x86` case via
commit fda9f9903be6 ("scripts/checkstack.pl: automatically handle
32-bit and 64-bit mode for ARCH=x86").

Suggested-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: George G. Davis <george_davis@mentor.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/checkstack.pl