NVDIMM Device and Persistent Memory development
 help / color / mirror / Atom feed
* [PATCH ndctl] typo fix: ovewrite -> overwrite
@ 2023-05-09 23:00 Yi Zhang
  2023-05-09 15:33 ` Minwoo Im
  2023-05-09 17:45 ` Dave Jiang
  0 siblings, 2 replies; 3+ messages in thread
From: Yi Zhang @ 2023-05-09 23:00 UTC (permalink / raw)
  To: nvdimm; +Cc: vishal.l.verma, dan.j.williams

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

Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
---
 Documentation/ndctl/ndctl-sanitize-dimm.txt | 2 +-
 ndctl/lib/dimm.c                            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/ndctl/ndctl-sanitize-dimm.txt b/Documentation/ndctl/ndctl-sanitize-dimm.txt
index e044678..72ec96e 100644
--- a/Documentation/ndctl/ndctl-sanitize-dimm.txt
+++ b/Documentation/ndctl/ndctl-sanitize-dimm.txt
@@ -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
diff --git a/ndctl/lib/dimm.c b/ndctl/lib/dimm.c
index 2b6e8a5..f9dde2f 100644
--- a/ndctl/lib/dimm.c
+++ b/ndctl/lib/dimm.c
@@ -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",
-- 
2.34.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-09 17:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-09 23:00 [PATCH ndctl] typo fix: ovewrite -> overwrite Yi Zhang
2023-05-09 15:33 ` Minwoo Im
2023-05-09 17:45 ` Dave Jiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox