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

cxl/region: describe targets and nr_targets members of cxl_region_params

Sphinx reported undescribed parameters in cxl_region_params struct:

./drivers/cxl/cxl.h:376: warning: Function parameter or member 'targets' not described in 'cxl_region_params'
./drivers/cxl/cxl.h:376: warning: Function parameter or member 'nr_targets' not described in 'cxl_region_params'

Describe these members.

Fixes: b9686e8c8e39 ("cxl/region: Enable the assignment of endpoint decoders to regions")
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20220804075448.98241-3-bagasdotme@gmail.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>

authored by

Bagas Sanjaya and committed by
Dan Williams
038e6eb8 f13da0d9

+2
+2
drivers/cxl/cxl.h
··· 364 364 * @interleave_ways: number of endpoints in the region 365 365 * @interleave_granularity: capacity each endpoint contributes to a stripe 366 366 * @res: allocated iomem capacity for this region 367 + * @targets: active ordered targets in current decoder configuration 368 + * @nr_targets: number of targets 367 369 * 368 370 * State transitions are protected by the cxl_region_rwsem 369 371 */