From: Jani Nikula Date: Thu, 26 May 2016 08:28:16 +0000 (+0300) Subject: kernel-doc/rst: reference functions according to C domain spec X-Git-Tag: v4.8-rc1~166^2~34^2~24 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a19bce6433c2566dd210f4245525c297ca952574;p=karo-tx-linux.git kernel-doc/rst: reference functions according to C domain spec The Sphinx C domain spec says function references should include the parens (). Signed-off-by: Jani Nikula --- diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 659d529b99d8..e8651d7cf1cd 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -280,7 +280,7 @@ my $blankline_text = ""; # rst-mode my @highlights_rst = ( [$type_constant, "``\$1``"], - [$type_func, "\\:c\\:func\\:`\$1`"], + [$type_func, "\\:c\\:func\\:`\$1()`"], [$type_struct_full, "\\:c\\:type\\:`\$1 \$2 <\$2>`"], [$type_enum_full, "\\:c\\:type\\:`\$1 \$2 <\$2>`"], [$type_struct, "\\:c\\:type\\:`struct \$1 <\$1>`"],