Skip to contentSkip to conversation

libnvdimm: fix kernel-doc notation

PATCH In review luanshi 2 participants 3 messages Oct 16, 2019 – Oct 17, 2019 libnvdimm: non-volatile memory device

lore
Share & tools
lore

luanshi

author
#0 lore raw

PATCH 1/1 libnvdimm: fix kernel-doc notation

Fix kernel-doc notation in drivers/nvdimm/namespace_devs.c.

Fixes bf9bccc14c05 ("libnvdimm: pmem label sets and namespace instantiation.")
---
 drivers/nvdimm/namespace_devs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/nvdimm/namespace_devs.c +1 -1
index cca0a3b..5cfb1e9 100644
@@ -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,
Signature · 4 lines
1.8.3.1
_______________________________________________
Linux-nvdimm mailing list -- [email protected]
To unsubscribe send an email to [email protected]
#1 lore raw
Quoted 17 lines

Fix kernel-doc notation in drivers/nvdimm/namespace_devs.c.

Fixes bf9bccc14c05 ("libnvdimm: pmem label sets and namespace

instantiation.")

---
 drivers/nvdimm/namespace_devs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

b/drivers/nvdimm/namespace_devs.c index cca0a3b..5cfb1e9 100644

drivers/nvdimm/namespace_devs.c +0 -0
@@ -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
Quoted 4 lines

label0
* @nd_region: region with mappings to validate
- * @nspm: target namespace to create
+ * @ndindex: target namespace index to create

nsindex? 's'?

Ira

Quoted 6 lines

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

_______________________________________________
Linux-nvdimm mailing list -- [email protected] To unsubscribe send an email to [email protected]

author
#2 lore raw

Hi Weiny,

Quoted 9 lines · Ira
Quoted 9 lines

Fix kernel-doc notation in drivers/nvdimm/namespace_devs.c.

Fixes bf9bccc14c05 ("libnvdimm: pmem label sets and namespace

instantiation.")

---
  drivers/nvdimm/namespace_devs.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 13 lines
Quoted 8 lines
(quoted diff) +0 -0

b/drivers/nvdimm/namespace_devs.c index cca0a3b..5cfb1e9 100644

drivers/nvdimm/namespace_devs.c +0 -0
@@ -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
Quoted 4 lines

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

Quoted 9 lines

Ira

Quoted 6 lines

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

_______________________________________________
Linux-nvdimm mailing list -- [email protected] To unsubscribe send an email to [email protected]