libnvdimm: fix kernel-doc notation
diff mbox series

Message ID 1571192160-54202-1-git-send-email-zhangliguang@linux.alibaba.com
State Superseded
Headers show
Series
  • libnvdimm: fix kernel-doc notation
Related show

Commit Message

luanshi Oct. 16, 2019, 2:16 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. 16, 2019, 4:20 p.m. UTC | #1
> 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(-)
> 
> diff --git a/drivers/nvdimm/namespace_devs.c
> b/drivers/nvdimm/namespace_devs.c index cca0a3b..5cfb1e9 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
> + * @ndindex: target namespace index to create

nsindex?  's'?

Ira

>   * @nd_label: target pmem namespace label to evaluate
>   */
>  static struct device *create_namespace_pmem(struct nd_region
> *nd_region,
> --
> 1.8.3.1
luanshi Oct. 17, 2019, 1:20 a.m. UTC | #2
Hi Weiny,

在 2019/10/17 0:20, Weiny, Ira 写道:
>> 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(-)
>>
>> diff --git a/drivers/nvdimm/namespace_devs.c
>> b/drivers/nvdimm/namespace_devs.c index cca0a3b..5cfb1e9 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
>> + * @ndindex: target namespace index to create
> nsindex?  's'?

Yes. Sorry for this error, I will resend it again.


Regards,

Liguang

>
> Ira
>
>>    * @nd_label: target pmem namespace label to evaluate
>>    */
>>   static struct device *create_namespace_pmem(struct nd_region
>> *nd_region,
>> --
>> 1.8.3.1

Patch
diff mbox series

diff --git a/drivers/nvdimm/namespace_devs.c b/drivers/nvdimm/namespace_devs.c
index cca0a3b..5cfb1e9 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
+ * @ndindex: target namespace index to create
  * @nd_label: target pmem namespace label to evaluate
  */
 static struct device *create_namespace_pmem(struct nd_region *nd_region,