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

Julia Lawall posted 35 patches 1 month, 4 weeks ago
[PATCH 05/35] libnvdimm: Reorganize kerneldoc parameter names
Posted by Julia Lawall 1 month, 4 weeks ago
Reorganize kerneldoc parameter names to match the parameter
order in the function header.

Problems identified using Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

---
 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.
Re: [PATCH 05/35] libnvdimm: Reorganize kerneldoc parameter names
Posted by Ira Weiny 1 month, 4 weeks ago
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@inria.fr>

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

> 
> ---
>  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.
>