Skip to content

Commit 038e6eb

Browse files
bagasmedjbw
authored andcommitted
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: b9686e8 ("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>
1 parent f13da0d commit 038e6eb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/cxl/cxl.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,8 @@ enum cxl_config_state {
364364
* @interleave_ways: number of endpoints in the region
365365
* @interleave_granularity: capacity each endpoint contributes to a stripe
366366
* @res: allocated iomem capacity for this region
367+
* @targets: active ordered targets in current decoder configuration
368+
* @nr_targets: number of targets
367369
*
368370
* State transitions are protected by the cxl_region_rwsem
369371
*/

0 commit comments

Comments
 (0)