diff mbox series

[v1] libnvdimm: fix kernel-doc notation

Message ID 1571275380-28209-1-git-send-email-zhangliguang@linux.alibaba.com (mailing list archive)
State New, archived
Headers show
Series [v1] libnvdimm: fix kernel-doc notation | expand

Commit Message

luanshi Oct. 17, 2019, 1:23 a.m. UTC
Fix kernel-doc notation in drivers/nvdimm/namespace_devs.c.

Fixes: bf9bccc14c05 ("libnvdimm: pmem label sets and namespace instantiation.")
Signed-off-by: Liguang Zhang <zhangliguang@linux.alibaba.com>
---
 drivers/nvdimm/namespace_devs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ira Weiny Oct. 17, 2019, 3:31 p.m. UTC | #1
> Subject: [PATCH v1] libnvdimm: fix kernel-doc notation
> 
> Fix kernel-doc notation in drivers/nvdimm/namespace_devs.c.
> 
> Fixes: bf9bccc14c05 ("libnvdimm: pmem label sets and namespace
> instantiation.")
> Signed-off-by: Liguang Zhang <zhangliguang@linux.alibaba.com>

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

> ---
>  drivers/nvdimm/namespace_devs.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/nvdimm/namespace_devs.c
> b/drivers/nvdimm/namespace_devs.c index cca0a3b..3851245 100644
> --- a/drivers/nvdimm/namespace_devs.c
> +++ b/drivers/nvdimm/namespace_devs.c
> @@ -1900,7 +1900,7 @@ static int select_pmem_id(struct nd_region
> *nd_region, u8 *pmem_id)
>  /**
>   * create_namespace_pmem - validate interleave set labelling, retrieve
> label0
>   * @nd_region: region with mappings to validate
> - * @nspm: target namespace to create
> + * @nsindex: target namespace index to create
>   * @nd_label: target pmem namespace label to evaluate
>   */
>  static struct device *create_namespace_pmem(struct nd_region
> *nd_region,
> --
> 1.8.3.1
diff mbox series

Patch

diff --git a/drivers/nvdimm/namespace_devs.c b/drivers/nvdimm/namespace_devs.c
index cca0a3b..3851245 100644
--- a/drivers/nvdimm/namespace_devs.c
+++ b/drivers/nvdimm/namespace_devs.c
@@ -1900,7 +1900,7 @@  static int select_pmem_id(struct nd_region *nd_region, u8 *pmem_id)
 /**
  * create_namespace_pmem - validate interleave set labelling, retrieve label0
  * @nd_region: region with mappings to validate
- * @nspm: target namespace to create
+ * @nsindex: target namespace index to create
  * @nd_label: target pmem namespace label to evaluate
  */
 static struct device *create_namespace_pmem(struct nd_region *nd_region,