aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-09-29 16:05:27 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-09-30 10:40:26 +0200
commita3ba919e9a9208a5f012a13c9674c362a9d73169 (patch)
treef9f1f6d1f5b30811d6e91702c23156807c8a4766
parentc7b4d0e56a1daee5c10d339a07579ce670ba7d4e (diff)
downloaddevel-a3ba919e9a9208a5f012a13c9674c362a9d73169.tar.gz
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>
-rwxr-xr-xscripts/get_abi.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get_abi.pl b/scripts/get_abi.pl
index d32dcd7cca5df..2f3674bb3c9ed 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);