Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Bagas Sanjaya and committed by
Dan Williams
f13da0d9 9fd2cf4d

+3
+3
drivers/cxl/core/region.c
··· 739 739 * in particular decoder target lists. 740 740 * 741 741 * The steps are: 742 + * 742 743 * - validate that there are no other regions with a higher HPA already 743 744 * associated with @port 744 745 * - establish a region reference if one is not already present 746 + * 745 747 * - additionally allocate a decoder instance that will host @cxlr on 746 748 * @port 749 + * 747 750 * - pin the region reference by the endpoint 748 751 * - account for how many entries in @port's target list are needed to 749 752 * cover all of the added endpoints.