projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f5cfb3
)
scripts: get_abi.pl: fix fallback rule for undefined symbols
author
Mauro Carvalho Chehab
<mchehab+huawei@kernel.org>
Thu, 30 Sep 2021 09:39:59 +0000
(11:39 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 5 Oct 2021 14:23:38 +0000
(16:23 +0200)
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>
scripts/get_abi.pl
patch
|
blob
|
history
diff --git
a/scripts/get_abi.pl
b/scripts/get_abi.pl
index d32dcd7cca5df754de47cfb701a9d45e8f387ae2..2f3674bb3c9edb43cfaf0fdd19436c2d4757196d 100755
(executable)
--- 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);