summaryrefslogtreecommitdiff
path: root/scripts/get_abi.pl
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-03-25 13:38:23 +0300
committerJonathan Corbet <corbet@lwn.net>2021-03-31 22:53:15 +0300
commitd3e6b2235e46a34f3d6b08283d1a817aeff0c757 (patch)
tree831514e3ca48cc5c545ea1f7115fb41811123713 /scripts/get_abi.pl
parentb0f9580a88803472d7c05d89365902a64f076df4 (diff)
downloadlinux-d3e6b2235e46a34f3d6b08283d1a817aeff0c757.tar.xz
get_abi.pl: seek for all occurrences for Documentation/ABI
Instead of retrieving just one match at most, ensure that the entire description will be parsed. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/17019b73e106d1b1b353b8880ed189bad3604c13.1616668017.git.mchehab+huawei@kernel.org Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'scripts/get_abi.pl')
-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 a9348b9bdaa4..3c82cd188368 100755
--- a/scripts/get_abi.pl
+++ b/scripts/get_abi.pl
@@ -380,7 +380,7 @@ sub output_rest {
$desc =~ s,Documentation/(?!devicetree)(\S+)\.rst,:doc:`/$1`,g;
- my @matches = $desc =~ m,Documentation/ABI/([\w\/\-]+),;
+ my @matches = $desc =~ m,Documentation/ABI/([\w\/\-]+),g;
foreach my $f (@matches) {
my $xref = $f;
my $path = $f;