diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-09-30 11:39:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-05 16:23:38 +0200 |
commit | 4dcce5b081555a33e97e06093910e6cfe6cb1023 (patch) | |
tree | b6742938a130ed50b1399300c9c15066c71d62a4 | |
parent | 8f5cfb3b5a1cb887d625b040e7260bd592ca57e0 (diff) | |
download | linux-stable-4dcce5b081555a33e97e06093910e6cfe6cb1023.tar.gz linux-stable-4dcce5b081555a33e97e06093910e6cfe6cb1023.tar.bz2 linux-stable-4dcce5b081555a33e97e06093910e6cfe6cb1023.zip |
scripts: get_abi.pl: fix fallback rule for undefined symbols
The rule that falls back to the long regex list is wrong:
it is just running again the same loop it did before.
change it to look at the "others" table.
That slows the processing speed, but provides a better
list of undefined symbols.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/a3ba919e9a9208a5f012a13c9674c362a9d73169.1632994565.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rwxr-xr-x | scripts/get_abi.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get_abi.pl b/scripts/get_abi.pl index d32dcd7cca5d..2f3674bb3c9e 100755 --- a/scripts/get_abi.pl +++ b/scripts/get_abi.pl @@ -746,7 +746,7 @@ sub check_file($$) } if ($leave ne "others") { - my @expr = @{$leaf{$leave}->{expr}}; + my @expr = @{$leaf{"others"}->{expr}}; for (my $i = 0; $i < @names; $i++) { foreach my $re (@expr) { print STDERR "$names[$i] =~ /^$re\$/\n" if ($debug && $dbg_undefined); |