[PATCH] Documentation/ABI/testing/debugfs-cxl: Fix "Unexpected indentation"

From: Dan Williams
Date: Thu Mar 14 2024 - 20:34:26 EST


Stephen reported that an htmldocs build hit:

Documentation/ABI/testing/debugfs-cxl:38: ERROR: Unexpected indentation.

It turns out that line was fine but the tool was unhappy about some line
breaks in the table of values to error types.

It turns out that:

make V=1 SPHINXDIRS="admin-guide" htmldocs

..can not be used to get more info about what is behind a documentation
build error. It was only pure luck that reflowing the text resulted in
an error message that seemed a imply a problem later on with line breaks
around the table.

Fixes: 8039804cfa73 ("cxl/core: Add CXL EINJ debugfs files")
Cc: Jonathan Corbet <corbet@xxxxxxx>
Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Closes: http://lore.kernel.org/r/20240314141313.7ba04aff@xxxxxxxxxxxxxxxx
Cc: Ben Cheatham <Benjamin.Cheatham@xxxxxxx>
Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>
---
Documentation/ABI/testing/debugfs-cxl | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/ABI/testing/debugfs-cxl b/Documentation/ABI/testing/debugfs-cxl
index 4c0f62f881ca..c61f9b813973 100644
--- a/Documentation/ABI/testing/debugfs-cxl
+++ b/Documentation/ABI/testing/debugfs-cxl
@@ -40,8 +40,12 @@ KernelVersion: v6.9
Contact: linux-cxl@xxxxxxxxxxxxxxx
Description:
(RO) Prints the CXL protocol error types made available by
- the platform in the format "0x<error number> <error type>".
+ the platform in the format:
+
+ 0x<error number> <error type>
+
The possible error types are (as of ACPI v6.5):
+
0x1000 CXL.cache Protocol Correctable
0x2000 CXL.cache Protocol Uncorrectable non-fatal
0x4000 CXL.cache Protocol Uncorrectable fatal
--
2.44.0