Re: [PATCH 05/35] libnvdimm: Reorganize kerneldoc parameter names

From: Ira Weiny
Date: Mon Sep 30 2024 - 18:26:57 EST


Julia Lawall wrote:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> Problems identified using Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@xxxxxxxx>

Acked-by: Ira Weiny <ira.weiny@xxxxxxxxx>

>
> ---
> drivers/nvdimm/dimm_devs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/nvdimm/dimm_devs.c b/drivers/nvdimm/dimm_devs.c
> index 21498d461fde..8c35502638e2 100644
> --- a/drivers/nvdimm/dimm_devs.c
> +++ b/drivers/nvdimm/dimm_devs.c
> @@ -767,8 +767,8 @@ resource_size_t nd_pmem_max_contiguous_dpa(struct nd_region *nd_region,
>
> /**
> * nd_pmem_available_dpa - for the given dimm+region account unallocated dpa
> - * @nd_mapping: container of dpa-resource-root + labels
> * @nd_region: constrain available space check to this reference region
> + * @nd_mapping: container of dpa-resource-root + labels
> *
> * Validate that a PMEM label, if present, aligns with the start of an
> * interleave set.
>