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 <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dan Williams <[email protected]>
1 parent f13da0d commit 038e6eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)