]> 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)
commitf482359fbce9a39e612c8b404181436c7d11c9c7
tree720254a6a378c39737ada94f27eec7c49cd7c6b7
parent02e295a8d21b395f94c62b68dbb3555329246097
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