Skip to content

Commit 23a2d0c

Browse files
Jason Wangdjbw
authored andcommitted
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>
1 parent 7912d30 commit 23a2d0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/nvdimm/namespace_devs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ static resource_size_t init_dpa_allocation(struct nd_label_id *label_id,
388388
*
389389
* BLK-space is valid as long as it does not precede a PMEM
390390
* allocation in a given region. PMEM-space must be contiguous
391-
* and adjacent to an existing existing allocation (if one
391+
* and adjacent to an existing allocation (if one
392392
* exists). If reserving PMEM any space is valid.
393393
*/
394394
static void space_valid(struct nd_region *nd_region, struct nvdimm_drvdata *ndd,

0 commit comments

Comments
 (0)