+ kernel-doc-make-man-text-mode-function-output-same.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     kernel-doc: make man/text mode function output same

has been added to the -mm tree.  Its filename is

     kernel-doc-make-man-text-mode-function-output-same.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: kernel-doc: make man/text mode function output same
From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

Make output of function descriptions in text mode match contents of 'man'
mode by adding Name: plus function-short-description ("purpose") and
changing Function: to Synopsis:.

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 scripts/kernel-doc |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff -puN scripts/kernel-doc~kernel-doc-make-man-text-mode-function-output-same scripts/kernel-doc
--- a/scripts/kernel-doc~kernel-doc-make-man-text-mode-function-output-same
+++ a/scripts/kernel-doc
@@ -1119,7 +1119,10 @@ sub output_function_text(%) {
     my %args = %{$_[0]};
     my ($parameter, $section);
 
-    print "Function:\n\n";
+    print "Name:\n\n";
+    print $args{'function'}." - ".$args{'purpose'}."\n";
+
+    print "\nSynopsis:\n\n";
     my $start=$args{'functiontype'}." ".$args{'function'}." (";
     print $start;
     my $count = 0;
_

Patches currently in -mm which might be from rdunlap@xxxxxxxxxxxx are

origin.patch
git-acpi.patch
acpi-identify-which-device-is-not-power-manageable.patch
git-dvb.patch
git-mtd.patch
ioat-fix-sparse-ulong-warning.patch
ioat-fix-header-file-kernel-doc.patch
ioat-fix-kernel-doc-in-source-files.patch
git-pcmcia.patch
git-scsi-misc.patch
aic7-cleanup-module_parm_desc-strings.patch
qla1280-fix-section-mismatch-warnings.patch
dc395x-fix-printk-format-warning.patch
areca-raid-linux-scsi-driver.patch
kernel-doc-consistent-text-man-mode-output.patch
kernel-doc-make-man-text-mode-function-output-same.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux