Skip to contentSkip to conversation

Documentation: x86: fix boot.rst warning and format

PATCH Applied Randy Dunlap 4 participants 5 messages Dec 9, 2019 – Dec 19, 2019 Documentation

lore
Share & tools
lore

Randy Dunlap

author reviewer
#0 lore raw

PATCH 1/1 Documentation: x86: fix boot.rst warning and format

From: Randy Dunlap <[email protected]>

Fix a Sphinx documentation format warning by breaking a long line into 2 lines.

Also drop the ':' usage after the Protocol version numbers since other Protocol versions don't use colons.

Documentation/x86/boot.rst:72: WARNING: Malformed table. Text in column margin in table line 57.

Fixes 2c33c27fd603 ("x86/boot: Introduce kernel_info")
Fixes 00cd1c154d56 ("x86/boot: Introduce kernel_info.setup_type_max")
Cc Jonathan Corbet <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
Cc Daniel Kiper <[email protected]>
---
 Documentation/x86/boot.rst |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Documentation/x86/boot.rst +3 -2
@@ -69,11 +69,12 @@ Protocol 2.13	(Kernel 3.14) Support 32-
 		xloadflags to support booting a 64-bit kernel from 32-bit
 		EFI
 
-Protocol 2.14:	BURNT BY INCORRECT COMMIT ae7e1238e68f2a472a125673ab506d49158c1889
+Protocol 2.14	BURNT BY INCORRECT COMMIT
+                ae7e1238e68f2a472a125673ab506d49158c1889
 		(x86/boot: Add ACPI RSDP address to setup_header)
 		DO NOT USE!!! ASSUME SAME AS 2.13.
 
-Protocol 2.15:	(Kernel 5.5) Added the kernel_info and kernel_info.setup_type_max.
+Protocol 2.15	(Kernel 5.5) Added the kernel_info and kernel_info.setup_type_max.
 =============	============================================================
 
 .. note::
Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Randy Dunlap

From: Randy Dunlap <[email protected]>

Fix a Sphinx documentation format warning by breaking a long line into 2 lines.

Also drop the ':' usage after the Protocol version numbers since other Protocol versions don't use colons.

Documentation/x86/boot.rst:72: WARNING: Malformed table. Text in column margin in table line 57.

Quoted 11 lines
Fixes 2c33c27fd603 ("x86/boot: Introduce kernel_info")
Fixes 00cd1c154d56 ("x86/boot: Introduce kernel_info.setup_type_max")
Cc Jonathan Corbet <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
Cc Daniel Kiper <[email protected]>

What can I do next time to avoid mistakes like that? I suppose that I can run something to get this warning but I do not know what exactly it should be.

Daniel

author reviewer
#2 lore raw
Quoted 24 lines · Daniel Kiper
Quoted 11 lines · Randy Dunlap

From: Randy Dunlap <[email protected]>

Fix a Sphinx documentation format warning by breaking a long line into 2 lines.

Also drop the ':' usage after the Protocol version numbers since other Protocol versions don't use colons.

Documentation/x86/boot.rst:72: WARNING: Malformed table. Text in column margin in table line 57.

Quoted 11 lines
Fixes 2c33c27fd603 ("x86/boot: Introduce kernel_info")
Fixes 00cd1c154d56 ("x86/boot: Introduce kernel_info.setup_type_max")
Cc Jonathan Corbet <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
Cc Daniel Kiper <[email protected]>
Quoted 5 lines

What can I do next time to avoid mistakes like that? I suppose that I can run something to get this warning but I do not know what exactly it should be.

I just do:

$ mkdir DOC1
$ make O=DOC1 htmldocs &>doc1.out

doc1.out will contain the build log for the documentation. It will be large. :(
Just grep (or use editor search) for the file(s) that you are interested in.

thanks.

Signature · 1 line
~Randy
#3 lore raw
Quoted 5 lines · Randy Dunlap
Quoted 3 lines · Daniel Kiper

What can I do next time to avoid mistakes like that? I suppose that I can run something to get this warning but I do not know what exactly it should be.

Quoted 8 lines

I just do:

$ mkdir DOC1
$ make O=DOC1 htmldocs &>doc1.out

doc1.out will contain the build log for the documentation. It will be large. :(
Just grep (or use editor search) for the file(s) that you are interested in.

"make W=1" will show warnings from the kernel-doc program without going to the trouble of building the documentation. We can enable it by default once the number of extra warnings it produces is reduced significantly (in November 2017 it was 1300).

maintainer Applied
#4 lore raw
In reply to Randy Dunlap
Quoted 20 lines · On Sun, 8 Dec 2019 20:25:10 -0800 Randy Dunlap <[email protected]> wrote:

Fix a Sphinx documentation format warning by breaking a long line into 2 lines.

Also drop the ':' usage after the Protocol version numbers since other Protocol versions don't use colons.

Documentation/x86/boot.rst:72: WARNING: Malformed table. Text in column margin in table line 57.

Fixes 2c33c27fd603 ("x86/boot: Introduce kernel_info")
Fixes 00cd1c154d56 ("x86/boot: Introduce kernel_info.setup_type_max")
Cc Jonathan Corbet <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
Cc Daniel Kiper <[email protected]>
Quoted 3 lines
---
 Documentation/x86/boot.rst |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Applied, thanks.

jon