summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wang <wangborong@cdjrlc.com>2022-08-02 23:19:18 +0300
committerDan Williams <dan.j.williams@intel.com>2022-09-20 20:47:18 +0300
commit23a2d0c5944896ce9123f36ab62d7ca64c8b25ff (patch)
tree0b80e18469e4f2809539fd9524983ad5536c46ba
parent7912d30fbb1a9df7e99eb7a5991582512e65927c (diff)
downloadlinux-23a2d0c5944896ce9123f36ab62d7ca64c8b25ff.tar.xz
nvdimm/namespace: Fix comment typo
The double `existing' is duplicated in the comment, remove one. Signed-off-by: Jason Wang <wangborong@cdjrlc.com> Link: https://lore.kernel.org/r/20220802201918.8408-1-wangborong@cdjrlc.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
-rw-r--r--drivers/nvdimm/namespace_devs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvdimm/namespace_devs.c b/drivers/nvdimm/namespace_devs.c
index bf4f5c09d9b1..847816992b9e 100644
--- a/drivers/nvdimm/namespace_devs.c
+++ b/drivers/nvdimm/namespace_devs.c
@@ -388,7 +388,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,