aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kernel-doc (follow)
AgeCommit message (Collapse)AuthorFilesLines
2005-03-17[PATCH] docbook: fix escaping of kernel-docMartin Waitz1-5/+5
This fixes a bug I introduced with the last patches of the DocBook generation. Signed-off-by: Martin Waitz <tali@admingilde.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-11[PATCH] docbook: escape declaration_purposeMartin Waitz1-1/+1
Escape declaration_purpose Signed-off-by: Martin Waitz <tali@admingilde.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-11[PATCH] docbook: factor out escaping of XML special charactersMartin Waitz1-12/+12
Factor out escaping of XML special characters Signed-off-by: Martin Waitz <tali@admingilde.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-11[PATCH] docbook: s/sgml/xml/ in scripts/kernel-docMartin Waitz1-24/+24
s/sgml/xml/ in scripts/kernel-doc Signed-off-by: Martin Waitz <tali@admingilde.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-11[PATCH] docbook: allow preprocessor directives between kernel-doc and functionMartin Waitz1-2/+2
Allow preprocessor directives between kernel-doc and function Signed-off-by: Martin Waitz <tali@admingilde.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2004-11-06kernel-doc: Print preprocessor directives correctly.Alexey Dobriyan1-3/+37
Print preprocessor directives (usually "#ifdef CONFIG_SOMETHING" and "#endif") in structs definitions correctly (-text, -html, sgmldocs, htmldocs, pdfdocs, mandocs). Correctly means: - on the separate line - starting from column 0 - not glued to the type of the next member - not breeding if members are separated by comma - not imitating pointers to functions ("#if defined(CONFIG_X)...") - not giving bogus warnings because of this imitation Signed-off-by: Alexey Dobriyan <adobriyan@mail.ru> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2004-11-03kernel-doc: don't print ... twice in variadic functionsAlexey Dobriyan1-1/+1
Signed-off-by: Alexey Dobriyan <adobriyan@mail.ru> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2004-11-03kernel-doc: print arrays in declarations correctlyAlexey Dobriyan1-27/+73
Do not convert arrays into pointers while generating documentation for them. I.e, print struct sk_buff { char cb[40]; }; as "char cb[40]", not "char * cb". Signed-off-by: Alexey Dobriyan <adobriyan@mail.ru> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2004-11-03kernel-doc: support for comma-separated members in structs and unionsAlexey Dobriyan1-16/+30
Fix the following warnings $ make sgmldocs ... Warning(include/linux/skbuff.h:283): No description found for parameter 'len,data_len,mac_len,csum' Warning(include/linux/skbuff.h:283): No description found for parameter 'local_df,cloned,pkt_type,ip_summed' Warning(include/linux/skbuff.h:283): No description found for parameter 'protocol,security' ... Warning(include/linux/skbuff.h:283): No description found for parameter 'head,*data,*tail,*end' ... by adding support for comma-separated members in structs and unions. Signed-off-by: Alexey Dobriyan <adobriyan@mail.ru> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2004-10-17kbuild: fix 'htmldocs' and friends with O=Tom Rini1-1/+1
The following patch fixes up 'htmldocs' and related to work when trees are being built with O=. I fixed it all up by passing the srctree as an env-var to docproc (and thus what it calls) and then pull that out when needed. Signed-off-by: Tom Rini <trini@kernel.crashing.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2004-07-10[PATCH] trivial: scripts_kernel-doc: missing bracket.Rusty Russell1-1/+1
From: <adobriyan@mail.ru> Fix missing bracket when parameter to be documented is a pointer to function. int (* resume (struct usb_interface *intf); Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2004-07-10[PATCH] trivial: scripts_kernel-doc: ignoring embedded structs shouldn't beRusty Russell1-1/+1
From: <adobriyan@mail.ru> Imagine you have a code similar to struct foo { union { struct tcphdr *th; } h; union { struct iphdr *iph; } nh; }; kernel-doc in it's current state will happily eat everything from first '{' to last '}' and nobody will see parameter 'h' in documentation (look at include/linux/skbuff.h:struct sk_buff for real world example). So, fix the greedy regexp. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2004-05-20[PATCH] trivial: scripts_kernel-doc should strip comments inside structs'Andrew Morton1-0/+2
From: Rusty Russell <rusty@rustcorp.com.au> From: <adobriyan@mail.ru> Long block comment before declaration moves it out of page in pdfs. Alexey $ ./linux-2.6.6-rc2/scripts/kernel-doc.orig -text test.c struct stuff: struct stuff { int a; /** comment here*/char b; }; Members: a aaaa b bbbbb Description: stuff $ ./linux-2.6.6-rc2/scripts/kernel-doc -text test.c struct stuff: struct stuff { int a; char b; }; Members: a aaaa b bbbbb Description: stuff
2004-04-11[PATCH] Fix scripts/kernel-doc to handle __attribute__Andrew Morton1-0/+1
From: Tom Rini <trini@kernel.crashing.org> The following patch is needed so that kernel-doc can handle functions which have __attribute__'s on them (such as __attribute__ ((weak))).
2003-06-07docbook: Warn about missing parameter definitionsSam Ravnborg1-3/+12
Previously kernel-doc silently ignored missing parameter descriptions but sometimes 'make sgmldocs' failed with exit code > 0. When kernel-doc encounter parameters where the description is missing it now prints a warning. docproc corrected so previously exit code are recorded. docbook makefile cleaned up a bit
2002-07-24[PATCH] kernel-doc: Fix warnings [4/9]Sam Ravnborg1-0/+2
During processing of skbuff.h three warnings were issued, because members of an enum within a struct were nor documented. This patch fixes kernel-doc not to spit out these non-valid warnings. Originally by Thunder.
2002-07-24[PATCH] kernel-doc: Generate valid DocBook syntax [3/9]Sam Ravnborg1-19/+67
Forward port from 2.4, originally by Alan Cox o Do not generate empty RefEntry's o Improved error reporting
2002-07-24[PATCH] kernel-doc: Improved support for man-page generation [2/9]Sam Ravnborg1-3/+3
Forward port from 2.4, originally by Christoph Hellwig
2002-06-05kbuild: Fix calling of scriptsKai Germaschewski1-0/+0
We source some scripts, but still pass parameters to them, e.g. . mk_version_h $@ $(KERNELRELEASE) $(VERSION) ... This does not work for all kinds of /bin/sh (it does for bash, that's why I did not notice). The fix is easy: Just mark the scripts executable and call instead of source them. Unfortunately, patch(1) doesn't understand about propagating chmod. bk does, so changing the tree isn't hard, and we introduce an explicit chmod a+x executed during the build for propagating this change into those trees which get "traditionally" patched up.
2002-02-04v2.4.10.4 -> v2.4.10.5Linus Torvalds1-1/+1
- Keith Owens: module exporting error checking - Greg KH: USB update - Paul Mackerras: clean up wait_init_idle(), ppc prefetch macros - Jan Kara: quota fixes - Abraham vd Merwe: agpgart support for Intel 830M - Jakub Jelinek: ELF loader cleanups - Al Viro: more cleanups - David Miller: sparc64 fix, netfilter fixes - me: tweak resurrected oom handling
2002-02-04v2.4.10.1 -> v2.4.10.2Linus Torvalds1-210/+834
- me/Al Viro: fix bdget() oops with block device modules that don't clean up after they exit - Alan Cox: continued merging (drivers, license tags) - David Miller: sparc update, network fixes - Christoph Hellwig: work around broken drivers that add a gendisk more than once - Jakub Jelinek: handle more ELF loading special cases - Trond Myklebust: NFS client and lockd reclaimer cleanups/fixes - Greg KH: USB updates - Mikael Pettersson: sparate out local APIC / IO-APIC config options
2002-02-04v2.4.5.8 -> v2.4.5.9Linus Torvalds1-2/+7
- make sure "sync()" doesn't effectively lock up the machine by overloading all the IO resources - fix up some network memory allocations that don't wan tto wait on IO. - merge with Alan (including MIPS update) - Jeff Garzik: network driver updates. - Al Viro: System V FS update (write capability, page cache, mondo cleanups) - Kai Germaschewski: ISDN cleanups, TURBOPAM driver by Stelian Pop - Ben Fennema: UDF update (time handling, i_blocks fix) - Neil Brown: md error handling improvements, knfsd file handle compatibility - Paul Mackerras: PPC update - Jakub Jelinek: fix up kernel linker scripts to accept .rodata better - Patrick Mochel: fix PME handling in pci_enable_wake() - Chris Mason: reiserfs PF_MEMALLOC handling
2002-02-04v2.4.5.4 -> v2.4.5.5Linus Torvalds1-0/+30
- Johannes Erdfelt: USB update (bluetooth and serial) - Andrew Grover: ACPI update for _real_ this time. - Neil Brown: md update - Keith Owens: kbuild script fix, do_softirq versioning fix - David Miller: sparc and portability updates
2002-02-04v2.4.3.6 -> v2.4.3.7Linus Torvalds1-3/+3
- Johannes Erdfelt: USB updates - David Howells: more rw-sem stuff - David Miller: network callback cleanups and fixes - Jan Harkes: make Coda use the proper VFS layer interfaces, so that it can use "non-traditional-unix" filesystems without inode numbers for backing store.
2002-02-04v2.4.3.5 -> v2.4.3.6Linus Torvalds1-142/+160
- Chris Mason: daemonize reiserfs commit thread - Alan Cox: syncup (AFFS might even work, and official VIA workarounds) - Jeff Garzik: network driver updates - Paul Mackerras: PPP update - David Howells: more rw-sem cleanups, updates. Slowly getting somewhere.
2002-02-04Import changesetLinus Torvalds1-0/+998