aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic/docproc.c
AgeCommit message (Collapse)AuthorFilesLines
2010-09-11docbook: warn on unused doc entriesJohannes Berg1-1/+128
When you don't use !E or !I but only !F, then it's very easy to miss including some functions, structs etc. in documentation. To help finding which ones were missed, allow printing out the unused ones as warnings. For example, using this on mac80211 yields a lot of warnings like this: Warning: didn't use docs for DOC: mac80211 workqueue Warning: didn't use docs for ieee80211_max_queues Warning: didn't use docs for ieee80211_bss_change Warning: didn't use docs for ieee80211_bss_conf when generating the documentation for it. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2009-09-20kbuild: add static to prototypesTrevor Keith1-17/+17
Warnings found via gcc -Wmissing-prototypes. Signed-off-by: Trevor Keith <[email protected]> Acked-by: WANG Cong <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]>
2009-06-20kbuild: fix build error during make htmldocsAmerigo Wang1-1/+1
Fix the following build error when do 'make htmldocs': DOCPROC Documentation/DocBook/debugobjects.xml exec /scripts/kernel-doc: No such file or directory exec /scripts/kernel-doc: No such file or directory Reported-by: Randy Dunlap <[email protected]> Signed-off-by: WANG Cong <[email protected]> Acked-by: Randy Dunlap <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]>
2009-06-09kbuild: allow docproc invocation from externalJiri Slaby1-4/+9
- getcwd returns path without a slash at the end, add the slash - add KBUILD_SRC env support, so that we can specify path for kernel (to know where scripts/kernel-doc resides) and SRCTREE (for searching files referenced in .tmpl) separately [v2] - use KBUILD_SRC instead of a newly introduced environment variable Signed-off-by: Jiri Slaby <[email protected]> Acked-by: Randy Dunlap <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]>
2008-01-28kernel-doc: new P directive for DOC: sectionsJohannes Berg1-1/+39
The !P directive includes the contents of a DOC: section given by title, e.g. !Pfilename Title of the section Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]>
2008-01-28kernel-doc: use no-doc optionJohannes Berg1-1/+3
When asked by a template to include all functions from a file, it will also include DOC: sections wreaking havoc in the generated docbook file. This patch makes it use the new -no-doc-sections flag for kernel-doc to avoid this. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]>
2007-10-18kbuild: stop docproc segfaulting when SRCTREE isn't set.Rob Landley1-2/+9
Prevent docproc from segfaulting when SRCTREE isn't set. Signed-off-by: Rob Landley <[email protected]> Acked-by: Randy Dunlap <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]>
2007-10-12docproc: style & typo cleanupsRandy Dunlap1-16/+18
- fix typos/spellos in docproc.c and Makefile - add a little whitespace {while, switch} (coding style) - use NULL instead of 0 for pointer testing Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]>
2007-05-09Fix occurrences of "the the "Michael Opdenacker1-1/+1
Signed-off-by: Michael Opdenacker <[email protected]> Signed-off-by: Adrian Bunk <[email protected]>
2006-11-03[PATCH] update some docbook commentsRandy Dunlap1-1/+1
Correct a few comments in kernel-doc Doc and source files. (akpm: note: the patch removes a non-ascii character and might have to be applied by hand..) Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-09-29[PATCH] docbook: fix segfault in docproc.cHenrik Kretzschmar1-0/+1
Adds a missing exit, if the file that should be parsed couldn't be opened. Without it crashes with a segfault, cause the filedescriptor is accessed even if the file could not be opened. Signed-off-by: Henrik Kretzschmar <[email protected]> Acked-by: Randy Dunlap <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-06-25[PATCH] Kill signed charsJ.A. Magallon1-7/+7
scripts/ is full of mismatches between char* params an signed char* arguments, and viceversa. gcc4 now complaints loud about this. Patch below deletes all those 'signed'. Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-04-16Linux-2.6.12-rc2Linus Torvalds1-0/+398
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!