Commit 5288176a authored by Swaraj Gaikwad's avatar Swaraj Gaikwad Committed by Ingo Molnar
Browse files

x86/boot/Documentation: Fix htmldocs build warning due to malformed table in boot.rst



Sphinx reports htmldocs warnings:

  Documentation/arch/x86/boot.rst:437: ERROR: Malformed table.
  Text in column margin in table line 2.

The table header defined the first column width as 2 characters ("=="),
which is too narrow for entries like "0x10" and "0x13". This caused the
text to spill into the margin, triggering a docutils parsing failure.

Fix it by extending the first column of assigned boot loader ID to 4
characters ("====") to fit the widest entries.

Fixes: 1c3377be ("x86/boot/Documentation: Prefix hexadecimal literals with 0x")
Tested-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarSwaraj Gaikwad <swarajgaikwad1925@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Reviewed-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Reviewed-by: default avatarBagas Sanjaya <bagasdotme@gmail.com>
Link: https://patch.msgid.link/20251210092814.9986-1-swarajgaikwad1925@gmail.com
parent cb015814
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -433,7 +433,7 @@ Protocol: 2.00+

  Assigned boot loader IDs:

	== =======================================
	==== =======================================
	0x0  LILO
	     (0x00 reserved for pre-2.00 bootloader)
	0x1  Loadlin
@@ -456,7 +456,7 @@ Protocol: 2.00+
	     <http://sebastian-plotz.blogspot.de>
	0x12 OVMF UEFI virtualization stack
	0x13 barebox
	== =======================================
	==== =======================================

  Please contact <hpa@zytor.com> if you need a bootloader ID value assigned.