summaryrefslogtreecommitdiff
path: root/drivers/cxl
diff options
context:
space:
mode:
authorBagas Sanjaya <bagasdotme@gmail.com>2022-08-04 14:54:46 +0700
committerDan Williams <dan.j.williams@intel.com>2022-08-05 08:41:02 -0700
commitf13da0d9c3252eb922fc12495f2068fbb18c2e8f (patch)
tree7b5a084e04f718d92a1589071e419f03d8b1b3b4 /drivers/cxl
parent9fd2cf4d6fba8253efa62ba45f623ab7f09df12d (diff)
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: 384e624bb211b4 ("cxl/region: Attach endpoint decoders") Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Link: https://lore.kernel.org/r/20220804075448.98241-2-bagasdotme@gmail.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/cxl')
-rw-r--r--drivers/cxl/core/region.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/cxl/core/region.c b/drivers/cxl/core/region.c
index f8f3df798aa3..30353bf0c339 100644
--- a/drivers/cxl/core/region.c
+++ b/drivers/cxl/core/region.c
@@ -739,11 +739,14 @@ static int cxl_rr_ep_add(struct cxl_region_ref *cxl_rr,
* in particular decoder target lists.
*
* The steps are:
+ *
* - validate that there are no other regions with a higher HPA already
* associated with @port
* - establish a region reference if one is not already present
+ *
* - additionally allocate a decoder instance that will host @cxlr on
* @port
+ *
* - pin the region reference by the endpoint
* - account for how many entries in @port's target list are needed to
* cover all of the added endpoints.