From: Tobin C. Harding Date: Tue, 21 Nov 2017 23:14:45 +0000 (+1100) Subject: leaking_addresses: fix typo function not called X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6d23dd9bbb2e71f1bc1bfbe77831e15cc505a995;p=linux.git leaking_addresses: fix typo function not called Currently code uses a check against an undefined variable because the variable is a sub routine name and is not evaluated. Evaluate subroutine; add parenthesis to sub routine name. Signed-off-by: Tobin C. Harding --- diff --git a/scripts/leaking_addresses.pl b/scripts/leaking_addresses.pl index bc57880000184..b0efa21239acb 100755 --- a/scripts/leaking_addresses.pl +++ b/scripts/leaking_addresses.pl @@ -209,7 +209,7 @@ sub is_false_positive return 1; } - if (is_x86_64) { + if (is_x86_64()) { # vsyscall memory region, we should probably check against a range here. if ($match =~ '\bf{10}600000\b' or $match =~ '\bf{10}601000\b') {