diff mbox series

[ndctl] typo fix: ovewrite -> overwrite

Message ID 20230509230005.2122950-1-yi.zhang@redhat.com (mailing list archive)
State Accepted
Commit 1e4fbe92828b548e3a011c37a8b9f318ad8aa023
Headers show
Series [ndctl] typo fix: ovewrite -> overwrite | expand

Commit Message

Yi Zhang May 9, 2023, 11 p.m. UTC
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(-)

Comments

Minwoo Im May 9, 2023, 3:33 p.m. UTC | #1
On 23-05-10 07:00:04, Yi Zhang wrote:
> Fix typos in Documentation/ndctl/ndctl-sanitize-dimm.txt and ndctl/lib/dimm.c
> 
> Signed-off-by: Yi Zhang <yi.zhang@redhat.com>

Reviewed-by: Minwoo Im <minwoo.im.dev@gmail.com>
Dave Jiang May 9, 2023, 5:45 p.m. UTC | #2
On 5/9/23 4:00 PM, Yi Zhang wrote:
> Fix typos in Documentation/ndctl/ndctl-sanitize-dimm.txt and ndctl/lib/dimm.c
> 
> Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.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",
diff mbox series

Patch

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",