]> git.baikalelectronics.ru Git - kernel.git/commit
leaking_addresses: add is_arch() wrapper subroutine
authorTobin C. Harding <me@tobin.cc>
Mon, 29 Jan 2018 03:33:49 +0000 (14:33 +1100)
committerTobin C. Harding <me@tobin.cc>
Fri, 6 Apr 2018 22:50:34 +0000 (08:50 +1000)
commitae0133fad907cdfd6ee4869fdc664f5aa26ec9b0
tree720254a6a378c39737ada94f27eec7c49cd7c6b7
parent00b9cf472868487aba454c937f8cf4a9c38ae387
leaking_addresses: add is_arch() wrapper subroutine

Currently there is duplicate code when checking the architecture type.
We can remove the duplication by implementing a wrapper function
is_arch().

Implement and use wrapper function is_arch().

Signed-off-by: Tobin C. Harding <me@tobin.cc>
scripts/leaking_addresses.pl