2022-08-04 07:58:56

by Bagas Sanjaya

[permalink] [raw]
Subject: [PATCH 3/3] Documentation: cxl: remove dangling kernel-doc reference

Sphinx reported kernel-doc failure warning, pointing to non-existent
drivers/cxl/region.h (which doesn't also exist throughout repo history):

WARNING: kernel-doc './scripts/kernel-doc -rst -enable-lineno -sphinx-version 2.4.4 -no-doc-sections ./drivers/cxl/region.h' failed with return code 1

Above cause error message to be displayed on htmldocs output.

Delete the reference.

Fixes: 779dd20cfb56c5 ("cxl/region: Add region creation support")
Signed-off-by: Bagas Sanjaya <[email protected]>
---
Documentation/driver-api/cxl/memory-devices.rst | 3 ---
1 file changed, 3 deletions(-)

diff --git a/Documentation/driver-api/cxl/memory-devices.rst b/Documentation/driver-api/cxl/memory-devices.rst
index 66ddc58a21b159..5149ecdc53c796 100644
--- a/Documentation/driver-api/cxl/memory-devices.rst
+++ b/Documentation/driver-api/cxl/memory-devices.rst
@@ -364,9 +364,6 @@ CXL Core

CXL Regions
-----------
-.. kernel-doc:: drivers/cxl/region.h
- :identifiers:
-
.. kernel-doc:: drivers/cxl/core/region.c
:doc: cxl core region

--
An old man doll... just what I always wanted! - Clara