[Users] [PATCH] perftest: Fix typo in informational string

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Aug 2 05:40:02 PDT 2013


s/deivce/device/g

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 src/atomic_lat.c           |    2 +-
 src/perftest_parameters.h  |    2 +-
 src/perftest_resources.h   |    4 ++--
 src/raw_ethernet_send_bw.c |    2 +-
 src/read_lat.c             |    2 +-
 src/send_bw.c              |    2 +-
 src/send_lat.c             |    2 +-
 src/write_bw.c             |    2 +-
 src/write_lat.c            |    2 +-
 9 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/atomic_lat.c b/src/atomic_lat.c
index 280857b..9a60182 100644
--- a/src/atomic_lat.c
+++ b/src/atomic_lat.c
@@ -82,7 +82,7 @@ int main(int argc, char *argv[]) {
 	// Finding the IB device selected (or defalut if no selected).
 	ib_dev = ctx_find_dev(user_param.ib_devname);
 	if (!ib_dev) {
-		fprintf(stderr," Unable to find the Infiniband/RoCE deivce\n");
+		fprintf(stderr," Unable to find the Infiniband/RoCE device\n");
 		return FAILURE;
 	}
 
diff --git a/src/perftest_parameters.h b/src/perftest_parameters.h
index d4b1f9a..00567b2 100644
--- a/src/perftest_parameters.h
+++ b/src/perftest_parameters.h
@@ -336,7 +336,7 @@ int parser(struct perftest_parameters *user_param,char *argv[], int argc);
  *
  * Parameters :
  *
- *	 context    - Context of the deivce.
+ *	 context    - Context of the device.
  *	 user_param - Perftest parameters.
  *
  * Return Value : SUCCESS, FAILURE.
diff --git a/src/perftest_resources.h b/src/perftest_resources.h
index 17bc714..0bdeb62 100644
--- a/src/perftest_resources.h
+++ b/src/perftest_resources.h
@@ -197,9 +197,9 @@ int check_add_port(char **service,int port,
  *
  * Parameters :
  *
- *	ib_devname - The name of the deivce requested or NULL for the first one.
+ *	ib_devname - The name of the device requested or NULL for the first one.
  *
- * Return Value : the deivce or NULL in case of failure.
+ * Return Value : the device or NULL in case of failure.
  */
 struct ibv_device* ctx_find_dev(const char *ib_devname);
 
diff --git a/src/raw_ethernet_send_bw.c b/src/raw_ethernet_send_bw.c
index 5218c23..20131d1 100644
--- a/src/raw_ethernet_send_bw.c
+++ b/src/raw_ethernet_send_bw.c
@@ -85,7 +85,7 @@ int main(int argc, char *argv[]) {
 	// Finding the IB device selected (or default if no selected).
 	ib_dev = ctx_find_dev(user_param.ib_devname);
 	if (!ib_dev) {
-		fprintf(stderr," Unable to find the Infiniband/RoCE deivce\n");
+		fprintf(stderr," Unable to find the Infiniband/RoCE device\n");
 		DEBUG_LOG(TRACE,"<<<<<<%s",__FUNCTION__);
  		return 1;
 	}
diff --git a/src/read_lat.c b/src/read_lat.c
index 80b185e..c26e9c4 100644
--- a/src/read_lat.c
+++ b/src/read_lat.c
@@ -82,7 +82,7 @@ int main(int argc, char *argv[]) {
 	// Finding the IB device selected (or defalut if no selected).
 	ib_dev = ctx_find_dev(user_param.ib_devname);
 	if (!ib_dev) {
-		fprintf(stderr," Unable to find the Infiniband/RoCE deivce\n");
+		fprintf(stderr," Unable to find the Infiniband/RoCE device\n");
 		return FAILURE;
 	}
 
diff --git a/src/send_bw.c b/src/send_bw.c
index 1418d6a..6bdc550 100644
--- a/src/send_bw.c
+++ b/src/send_bw.c
@@ -190,7 +190,7 @@ int main(int argc, char *argv[]) {
 	// Finding the IB device selected (or defalut if no selected).
 	ib_dev = ctx_find_dev(user_param.ib_devname);
 	if (!ib_dev) {
-		fprintf(stderr," Unable to find the Infiniband/RoCE deivce\n");
+		fprintf(stderr," Unable to find the Infiniband/RoCE device\n");
 		return 1;
 	}
 
diff --git a/src/send_lat.c b/src/send_lat.c
index 7a98706..945b579 100644
--- a/src/send_lat.c
+++ b/src/send_lat.c
@@ -218,7 +218,7 @@ int main(int argc, char *argv[]) {
 	// Finding the IB device selected (or defalut if no selected).
 	ib_dev = ctx_find_dev(user_param.ib_devname);
 	if (!ib_dev) {
-		fprintf(stderr," Unable to find the Infiniband/RoCE deivce\n");
+		fprintf(stderr," Unable to find the Infiniband/RoCE device\n");
 		return 1;
 	}
 
diff --git a/src/write_bw.c b/src/write_bw.c
index 6ba8459..d204f67 100644
--- a/src/write_bw.c
+++ b/src/write_bw.c
@@ -74,7 +74,7 @@ int main(int argc, char *argv[]) {
 	// Finding the IB device selected (or default if none is selected).
 	ib_dev = ctx_find_dev(user_param.ib_devname);
 	if (!ib_dev) {
-		fprintf(stderr," Unable to find the Infiniband/RoCE deivce\n");
+		fprintf(stderr," Unable to find the Infiniband/RoCE device\n");
 		return 1;
 	}
 
diff --git a/src/write_lat.c b/src/write_lat.c
index ce44605..50c53c4 100644
--- a/src/write_lat.c
+++ b/src/write_lat.c
@@ -82,7 +82,7 @@ int main(int argc, char *argv[]) {
 	// Finding the IB device selected (or defalut if no selected).
 	ib_dev = ctx_find_dev(user_param.ib_devname);
 	if (!ib_dev) {
-		fprintf(stderr," Unable to find the Infiniband/RoCE deivce\n");
+		fprintf(stderr," Unable to find the Infiniband/RoCE device\n");
 		return FAILURE;
 	}
 
-- 
1.7.10.4




More information about the Users mailing list