projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7ba333
)
scripts: get_abi.pl: output users in ReST format
author
Mauro Carvalho Chehab
<mchehab+huawei@kernel.org>
Fri, 30 Oct 2020 07:40:26 +0000
(08:40 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 30 Oct 2020 12:02:26 +0000
(13:02 +0100)
Right now, the script only outputs Users on search. Print it
also in ReST format.
Acked-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link:
https://lore.kernel.org/r/83def2a692c4c678f21ee6e76b66a54d2be1e796.1604042072.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
1d1408f
..
e5a5588
100755
(executable)
--- a/
scripts/get_abi.pl
+++ b/
scripts/get_abi.pl
@@
-371,6
+371,14
@@
sub output_rest {
print "- :ref:`$content <$label>`\n\n";
}
}
+
+ if (defined($data{$what}->{users})) {
+ my $users = $data{$what}->{users};
+
+ $users =~ s/\n/\n\t/g;
+ printf "Users:\n\t%s\n\n", $users if ($users ne "");
+ }
+
}
}