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>
This commit is contained in:
parent
f13da0d9c3
commit
038e6eb803
@ -364,6 +364,8 @@ enum cxl_config_state {
|
||||
* @interleave_ways: number of endpoints in the region
|
||||
* @interleave_granularity: capacity each endpoint contributes to a stripe
|
||||
* @res: allocated iomem capacity for this region
|
||||
* @targets: active ordered targets in current decoder configuration
|
||||
* @nr_targets: number of targets
|
||||
*
|
||||
* State transitions are protected by the cxl_region_rwsem
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user