Thread (12 messages) 12 messages, 3 authors, 2021-04-01
STALE1891d LANDED

[PATCH v2 2/7] get_abi.pl: seek for all occurrences for Documentation/ABI

From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Date: 2021-03-25 10:39:27
Also in: lkml
Subsystem: the rest · Maintainer: Linus Torvalds

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>
---
 scripts/get_abi.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
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;
-- 
2.30.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help