Skip to contentSkip to conversation

typo fix: ovewrite -> overwrite

PATCH In review Yi Zhang 3 participants 3 messages May 9, 2023

Subsystems (2)
lore
Share & tools
lore

Yi Zhang

author
#0 lore raw

PATCH 1/1 typo fix: ovewrite -> overwrite

Fix typos in Documentation/ndctl/ndctl-sanitize-dimm.txt and ndctl/lib/dimm.c

---
 Documentation/ndctl/ndctl-sanitize-dimm.txt | 2 +-
 ndctl/lib/dimm.c                            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/ndctl/ndctl-sanitize-dimm.txt +1 -1
index e044678..72ec96e 100644
@@ -47,7 +47,7 @@ include::xable-bus-options.txt[]
 	label data. Namespaces get reverted to raw mode.
 
 -o::
---ovewrite::
+--overwrite::
 	Wipe the entire DIMM, including label data. This can take significant
 	time, and the command is non-blocking. With this option, the overwrite
 	request is merely submitted to the NVDIMM, and the completion is
ndctl/lib/dimm.c +1 -1
index 2b6e8a5..f9dde2f 100644
@@ -853,7 +853,7 @@ NDCTL_EXPORT int ndctl_dimm_wait_overwrite(struct ndctl_dimm *dimm)
 		dbg(ctx, "%s: overwrite complete\n",
 				ndctl_dimm_get_devname(dimm));
 	else if (rc == 0)
-		dbg(ctx, "%s: ovewrite skipped\n",
+		dbg(ctx, "%s: overwrite skipped\n",
 				ndctl_dimm_get_devname(dimm));
 	else
 		dbg(ctx, "%s: overwrite error waiting for complete\n",
Signature · 1 line
2.34.3
maintainer Reviewed-by on v1 1/1
#2 lore raw
In reply to Yi Zhang
Quoted 3 lines · Yi Zhang

Fix typos in Documentation/ndctl/ndctl-sanitize-dimm.txt and ndctl/lib/dimm.c

Quoted 31 lines
---
  Documentation/ndctl/ndctl-sanitize-dimm.txt | 2 +-
  ndctl/lib/dimm.c                            | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/ndctl/ndctl-sanitize-dimm.txt +1 -1
index e044678..72ec96e 100644
@@ -47,7 +47,7 @@ include::xable-bus-options.txt[]
  	label data. Namespaces get reverted to raw mode.
 
  -o::
---ovewrite::
+--overwrite::
  	Wipe the entire DIMM, including label data. This can take significant
  	time, and the command is non-blocking. With this option, the overwrite
  	request is merely submitted to the NVDIMM, and the completion is
ndctl/lib/dimm.c +1 -1
index 2b6e8a5..f9dde2f 100644
@@ -853,7 +853,7 @@ NDCTL_EXPORT int ndctl_dimm_wait_overwrite(struct ndctl_dimm *dimm)
  		dbg(ctx, "%s: overwrite complete\n",
  				ndctl_dimm_get_devname(dimm));
  	else if (rc == 0)
-		dbg(ctx, "%s: ovewrite skipped\n",
+		dbg(ctx, "%s: overwrite skipped\n",
  				ndctl_dimm_get_devname(dimm));
  	else
  		dbg(ctx, "%s: overwrite error waiting for complete\n",