2019-06-26 12:44:50

by Colin King

[permalink] [raw]
Subject: [PATCH][next] nvme-trace: fix spelling mistake "spcecific" -> "specific"

From: Colin Ian King <[email protected]>

There are two spelling mistakes in trace_seq_printf messages, fix these.

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/nvme/host/trace.c | 2 +-
drivers/nvme/target/trace.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/nvme/host/trace.c b/drivers/nvme/host/trace.c
index f01ad0fd60bb..6980ab827233 100644
--- a/drivers/nvme/host/trace.c
+++ b/drivers/nvme/host/trace.c
@@ -178,7 +178,7 @@ static const char *nvme_trace_fabrics_common(struct trace_seq *p, u8 *spc)
{
const char *ret = trace_seq_buffer_ptr(p);

- trace_seq_printf(p, "spcecific=%*ph", 24, spc);
+ trace_seq_printf(p, "specific=%*ph", 24, spc);
trace_seq_putc(p, 0);
return ret;
}
diff --git a/drivers/nvme/target/trace.c b/drivers/nvme/target/trace.c
index cdcdd14c6408..6af11d493271 100644
--- a/drivers/nvme/target/trace.c
+++ b/drivers/nvme/target/trace.c
@@ -146,7 +146,7 @@ static const char *nvmet_trace_fabrics_common(struct trace_seq *p, u8 *spc)
{
const char *ret = trace_seq_buffer_ptr(p);

- trace_seq_printf(p, "spcecific=%*ph", 24, spc);
+ trace_seq_printf(p, "specific=%*ph", 24, spc);
trace_seq_putc(p, 0);
return ret;
}
--
2.20.1


2019-06-26 20:12:56

by Minwoo Im

[permalink] [raw]
Subject: Re: [PATCH][next] nvme-trace: fix spelling mistake "spcecific" -> "specific"

On 19-06-26 13:43:23, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There are two spelling mistakes in trace_seq_printf messages, fix these.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/nvme/host/trace.c | 2 +-
> drivers/nvme/target/trace.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/nvme/host/trace.c b/drivers/nvme/host/trace.c
> index f01ad0fd60bb..6980ab827233 100644
> --- a/drivers/nvme/host/trace.c
> +++ b/drivers/nvme/host/trace.c
> @@ -178,7 +178,7 @@ static const char *nvme_trace_fabrics_common(struct trace_seq *p, u8 *spc)
> {
> const char *ret = trace_seq_buffer_ptr(p);
>
> - trace_seq_printf(p, "spcecific=%*ph", 24, spc);
> + trace_seq_printf(p, "specific=%*ph", 24, spc);
> trace_seq_putc(p, 0);
> return ret;
> }
> diff --git a/drivers/nvme/target/trace.c b/drivers/nvme/target/trace.c
> index cdcdd14c6408..6af11d493271 100644
> --- a/drivers/nvme/target/trace.c
> +++ b/drivers/nvme/target/trace.c
> @@ -146,7 +146,7 @@ static const char *nvmet_trace_fabrics_common(struct trace_seq *p, u8 *spc)
> {
> const char *ret = trace_seq_buffer_ptr(p);
>
> - trace_seq_printf(p, "spcecific=%*ph", 24, spc);
> + trace_seq_printf(p, "specific=%*ph", 24, spc);
> trace_seq_putc(p, 0);
> return ret;
> }
> --
> 2.20.1
>
>
> _______________________________________________
> Linux-nvme mailing list
> [email protected]
> http://lists.infradead.org/mailman/listinfo/linux-nvme

*facepalm*..

Thanks for fixing this, Colin!

Reviewed-by: Minwoo Im <[email protected]>