From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 5 Jan 2003 23:03:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 5 Jan 2003 23:03:23 -0500 Received: from dp.samba.org ([66.70.73.150]:35552 "EHLO lists.samba.org") by vger.kernel.org with ESMTP id ; Sun, 5 Jan 2003 23:03:14 -0500 From: Rusty Trivial Russell To: torvalds@transmeta.com Cc: linux-kernel@vger.kernel.org Subject: [TRIVIAL] [PATCH 1 of 3] Fix errors making Docbook documentation Date: Mon, 06 Jan 2003 14:47:32 +1100 Message-Id: <20030106041150.EBCA42C26D@lists.samba.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org From: Craig Wilkie The attached patch (against 2.5.53) modifies the following files: - Documentation/Docbook/Makefile - Fix dependencies generating parportbook which caused tex to choke. Documentation/Docbook/kernel-api.tmpl - Remove references to source files which do not contain kernel-doc comments, which caused "errors" in the generated documentation. include/linux/init.h - fix a trivial function comment to correct the generated documentation. This patch partially addresses one of the issues on the Kernel Janitor TODO list - "someone who knows DocBook, or is willing to learn, should go through and clean up Documentation/DocBook to kill all the warnings that occur during "make pdfdocs" and generally make the documents look nicer, and render smaller PDFs." Cheers. -- Craig Wilkie --- trivial-2.5-bk/Documentation/DocBook/Makefile.orig 2003-01-06 14:08:33.000000000 +1100 +++ trivial-2.5-bk/Documentation/DocBook/Makefile 2003-01-06 14:08:33.000000000 +1100 @@ -90,7 +90,7 @@ EPS-parportbook := $(patsubst %.fig,%.eps, $(IMG-parportbook2)) PNG-parportbook := $(patsubst %.fig,%.png, $(IMG-parportbook2)) $(obj)/parportbook.html: $(PNG-parportbook) -$(obj)/parportbook.ps $(obj)/parportbook.pdf: $(EPS-parportbook) +$(obj)/parportbook.ps $(obj)/parportbook.pdf: $(EPS-parportbook) $(PNG-parportbook) ### # Rules to generate postscript, PDF and HTML --- trivial-2.5-bk/Documentation/DocBook/kernel-api.tmpl.orig 2003-01-06 14:08:33.000000000 +1100 +++ trivial-2.5-bk/Documentation/DocBook/kernel-api.tmpl 2003-01-06 14:08:33.000000000 +1100 @@ -150,7 +150,12 @@ !Ekernel/kmod.c Inter Module support -!Ekernel/module.c + + Refer to the file kernel/module.c for more information. + + @@ -172,7 +177,12 @@ MCA Architecture MCA Device Functions -!Earch/i386/kernel/mca.c + + Refer to the file arch/i386/kernel/mca.c for more information. + + MCA Bus DMA !Iinclude/asm-i386/mca_dma.h @@ -213,7 +223,9 @@ Sound Devices !Esound/sound_core.c -!Isound/sound_firmware.c + @@ -292,7 +304,9 @@ USB Core APIs !Edrivers/usb/core/urb.c -!Edrivers/usb/core/config.c + !Edrivers/usb/core/message.c !Edrivers/usb/core/file.c !Edrivers/usb/core/usb.c @@ -385,7 +399,12 @@ !Idrivers/video/macmodes.c Frame Buffer Fonts -!Idrivers/video/console/fonts.c + + Refer to the file drivers/video/console/fonts.c for more information. + +