Documentation: x86: fix boot.rst warning and format
Randy Dunlap
reviewerPATCH 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.
--- 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::
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")Signed-off-by Randy Dunlap <[email protected]>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
Randy Dunlap
reviewerQuoted 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")Signed-off-by Randy Dunlap <[email protected]>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
Reviewed-by 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.
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
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.outdoc1.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).
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")Signed-off-by Randy Dunlap <[email protected]>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