test/cryptodev: fix spelling in app output

Message ID 20210118113410.2950889-1-ciara.power@intel.com (mailing list archive)
State Accepted, archived
Delegated to: akhil goyal
Headers
Series test/cryptodev: fix spelling in app output |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK
ci/iol-broadcom-Functional success Functional Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-mellanox-Functional success Functional Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-abi-testing success Testing PASS
ci/iol-testing warning Testing issues

Commit Message

Power, Ciara Jan. 18, 2021, 11:34 a.m. UTC
  Fixes some spelling errors in app logs and help text.

Fixes: 7da018731c56 ("app/crypto-perf: add help option")
Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application")
Cc: pablo.de.lara.guarch@intel.com
Cc: slawomirx.mrozowicz@intel.com
Cc: stable@dpdk.org

Signed-off-by: Ciara Power <ciara.power@intel.com>
---
 app/test-crypto-perf/cperf_options_parsing.c | 2 +-
 app/test-crypto-perf/main.c                  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
  

Comments

Doherty, Declan Jan. 19, 2021, 8:56 a.m. UTC | #1
On 18/01/2021 11:34 AM, Ciara Power wrote:
> Fixes some spelling errors in app logs and help text.
> 
> Fixes: 7da018731c56 ("app/crypto-perf: add help option")
> Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application")
> Cc: pablo.de.lara.guarch@intel.com
> Cc: slawomirx.mrozowicz@intel.com
> Cc: stable@dpdk.org
> 
> Signed-off-by: Ciara Power <ciara.power@intel.com>
> ---
>   app/test-crypto-perf/cperf_options_parsing.c | 2 +-
>   app/test-crypto-perf/main.c                  | 4 ++--
>   2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/app/test-crypto-perf/cperf_options_parsing.c b/app/test-crypto-perf/cperf_options_parsing.c
> index 03ed6f5942..0466f7baf8 100644
> --- a/app/test-crypto-perf/cperf_options_parsing.c
> +++ b/app/test-crypto-perf/cperf_options_parsing.c
> @@ -24,7 +24,7 @@ usage(char *progname)
>   {
>   	printf("%s [EAL options] --\n"
>   		" --silent: disable options dump\n"
> -		" --ptest throughput / latency / verify / pmd-cycleount :"
> +		" --ptest throughput / latency / verify / pmd-cyclecount :"
>   		" set test type\n"
>   		" --pool_sz N: set the number of crypto ops/mbufs allocated\n"
>   		" --total-ops N: set the number of total operations performed\n"
> diff --git a/app/test-crypto-perf/main.c b/app/test-crypto-perf/main.c
> index 99f86e9019..49af812d8b 100644
> --- a/app/test-crypto-perf/main.c
> +++ b/app/test-crypto-perf/main.c
> @@ -530,14 +530,14 @@ main(int argc, char **argv)
>   
>   	ret = cperf_options_parse(&opts, argc, argv);
>   	if (ret) {
> -		RTE_LOG(ERR, USER1, "Parsing on or more user options failed\n");
> +		RTE_LOG(ERR, USER1, "Parsing one or more user options failed\n");
>   		goto err;
>   	}
>   
>   	ret = cperf_options_check(&opts);
>   	if (ret) {
>   		RTE_LOG(ERR, USER1,
> -				"Checking on or more user options failed\n");
> +				"Checking one or more user options failed\n");
>   		goto err;
>   	}
>   
> 

Acked-by: Declan Doherty <declan.doherty@intel.com>
  
Akhil Goyal Jan. 19, 2021, 5:36 p.m. UTC | #2
> Fixes some spelling errors in app logs and help text.
> 
> Fixes: 7da018731c56 ("app/crypto-perf: add help option")
> Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application")
> Cc: pablo.de.lara.guarch@intel.com
> Cc: slawomirx.mrozowicz@intel.com
> Cc: stable@dpdk.org
> 
> Signed-off-by: Ciara Power <ciara.power@intel.com>
Applied to dpdk-next-crypto

Thanks
  

Patch

diff --git a/app/test-crypto-perf/cperf_options_parsing.c b/app/test-crypto-perf/cperf_options_parsing.c
index 03ed6f5942..0466f7baf8 100644
--- a/app/test-crypto-perf/cperf_options_parsing.c
+++ b/app/test-crypto-perf/cperf_options_parsing.c
@@ -24,7 +24,7 @@  usage(char *progname)
 {
 	printf("%s [EAL options] --\n"
 		" --silent: disable options dump\n"
-		" --ptest throughput / latency / verify / pmd-cycleount :"
+		" --ptest throughput / latency / verify / pmd-cyclecount :"
 		" set test type\n"
 		" --pool_sz N: set the number of crypto ops/mbufs allocated\n"
 		" --total-ops N: set the number of total operations performed\n"
diff --git a/app/test-crypto-perf/main.c b/app/test-crypto-perf/main.c
index 99f86e9019..49af812d8b 100644
--- a/app/test-crypto-perf/main.c
+++ b/app/test-crypto-perf/main.c
@@ -530,14 +530,14 @@  main(int argc, char **argv)
 
 	ret = cperf_options_parse(&opts, argc, argv);
 	if (ret) {
-		RTE_LOG(ERR, USER1, "Parsing on or more user options failed\n");
+		RTE_LOG(ERR, USER1, "Parsing one or more user options failed\n");
 		goto err;
 	}
 
 	ret = cperf_options_check(&opts);
 	if (ret) {
 		RTE_LOG(ERR, USER1,
-				"Checking on or more user options failed\n");
+				"Checking one or more user options failed\n");
 		goto err;
 	}