Skip to contentSkip to conversation

nvdimm/namespace: Fix comment typo

PATCH New Jason Wang 1 participant 1 message Aug 2, 2022 libnvdimm: non-volatile memory device

lore
Share & tools
lore

Jason Wang

author
#0 lore raw

PATCH 1/1 nvdimm/namespace: Fix comment typo

The double `existing' is duplicated in the comment, remove one.

---
 drivers/nvdimm/namespace_devs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/nvdimm/namespace_devs.c +1 -1
index dfade66bab73..c60ec0b373c5 100644
@@ -385,7 +385,7 @@ static resource_size_t init_dpa_allocation(struct nd_label_id *label_id,
  *
  * BLK-space is valid as long as it does not precede a PMEM
  * allocation in a given region. PMEM-space must be contiguous
- * and adjacent to an existing existing allocation (if one
+ * and adjacent to an existing allocation (if one
  * exists).  If reserving PMEM any space is valid.
  */
 static void space_valid(struct nd_region *nd_region, struct nvdimm_drvdata *ndd,
Signature · 1 line
2.35.1