Skip to content

Commit f13da0d

Browse files
bagasmedjbw
authored andcommitted
cxl/regions: add padding for cxl_rr_ep_add nested lists
Sphinx reported indentation warnings: Documentation/driver-api/cxl/memory-devices:457: ./drivers/cxl/core/region.c:732: WARNING: Unexpected indentation. Documentation/driver-api/cxl/memory-devices:457: ./drivers/cxl/core/region.c:733: WARNING: Block quote ends without a blank line; unexpected unindent. Documentation/driver-api/cxl/memory-devices:457: ./drivers/cxl/core/region.c:735: WARNING: Unexpected indentation. These warnings above are due to missing blank line padding in the nested list in kernel-doc comment for cxl_rr_ep_add(). Add the paddings to fix the warnings. Fixes: 384e624 ("cxl/region: Attach endpoint decoders") Signed-off-by: Bagas Sanjaya <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dan Williams <[email protected]>
1 parent 9fd2cf4 commit f13da0d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/cxl/core/region.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -739,11 +739,14 @@ static int cxl_rr_ep_add(struct cxl_region_ref *cxl_rr,
739739
* in particular decoder target lists.
740740
*
741741
* The steps are:
742+
*
742743
* - validate that there are no other regions with a higher HPA already
743744
* associated with @port
744745
* - establish a region reference if one is not already present
746+
*
745747
* - additionally allocate a decoder instance that will host @cxlr on
746748
* @port
749+
*
747750
* - pin the region reference by the endpoint
748751
* - account for how many entries in @port's target list are needed to
749752
* cover all of the added endpoints.

0 commit comments

Comments
 (0)