]> 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)
commit5eb0da0568a241f72732eb2143538fb14879a52c
tree720254a6a378c39737ada94f27eec7c49cd7c6b7
parent6efb7458280a8f5d4c1955324e9d8985e90a882b
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