[24/30] examples/vhost_scsi: fix spelling errors

Message ID 20190701182536.20110-25-stephen@networkplumber.org (mailing list archive)
State Changes Requested, archived
Delegated to: Thomas Monjalon
Headers
Series fix spelling errors in comments and messages |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Stephen Hemminger July 1, 2019, 6:25 p.m. UTC
  Spelling errors found by codespell.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 examples/vhost_scsi/scsi.c       | 2 +-
 examples/vhost_scsi/vhost_scsi.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
  

Comments

Artur Trybula July 2, 2019, 4:01 p.m. UTC | #1
-----Original Message-----
From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Stephen Hemminger
Sent: Monday, July 1, 2019 20:26
To: dev@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>
Subject: [dpdk-dev] [PATCH 24/30] examples/vhost_scsi: fix spelling errors

Spelling errors found by codespell.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 examples/vhost_scsi/scsi.c       | 2 +-
 examples/vhost_scsi/vhost_scsi.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/vhost_scsi/scsi.c b/examples/vhost_scsi/scsi.c index b1529afdccb4..060c3b61bcd2 100644
--- a/examples/vhost_scsi/scsi.c
+++ b/examples/vhost_scsi/scsi.c
@@ -70,7 +70,7 @@ vhost_bdev_scsi_set_naa_ieee_extended(const char *name, uint8_t *buf)
 	local_value = *(uint64_t *)buf;
 	/*
 	 * see spc3r23 7.6.3.6.2,
-	 *  NAA IEEE Extended identifer format
+	 *  NAA IEEE Extended identiifier format

[Artur] "... identifier format"?

 	 */
 	local_value &= 0x0fff000000ffffffull;
 	/* NAA 02, and 00 03 47 for IEEE Intel */ diff --git a/examples/vhost_scsi/vhost_scsi.c b/examples/vhost_scsi/vhost_scsi.c
index 513af0cca4bc..14385be56ae2 100644
--- a/examples/vhost_scsi/vhost_scsi.c
+++ b/examples/vhost_scsi/vhost_scsi.c
@@ -191,7 +191,7 @@ vhost_scsi_bdev_construct(const char *bdev_name, const char *bdev_serial,
 	/* use memory as disk storage space */
 	bdev->data = rte_zmalloc(NULL, blk_cnt * blk_size, 0);
 	if (!bdev->data) {
-		fprintf(stderr, "no enough reseverd huge memory for disk\n");
+		fprintf(stderr, "no enough reserved huge memory for disk\n");

[Artur] "Not enough huge memory reserved for disk" ?

 		return NULL;
 	}
 
--
2.20.1
  

Patch

diff --git a/examples/vhost_scsi/scsi.c b/examples/vhost_scsi/scsi.c
index b1529afdccb4..060c3b61bcd2 100644
--- a/examples/vhost_scsi/scsi.c
+++ b/examples/vhost_scsi/scsi.c
@@ -70,7 +70,7 @@  vhost_bdev_scsi_set_naa_ieee_extended(const char *name, uint8_t *buf)
 	local_value = *(uint64_t *)buf;
 	/*
 	 * see spc3r23 7.6.3.6.2,
-	 *  NAA IEEE Extended identifer format
+	 *  NAA IEEE Extended identiifier format
 	 */
 	local_value &= 0x0fff000000ffffffull;
 	/* NAA 02, and 00 03 47 for IEEE Intel */
diff --git a/examples/vhost_scsi/vhost_scsi.c b/examples/vhost_scsi/vhost_scsi.c
index 513af0cca4bc..14385be56ae2 100644
--- a/examples/vhost_scsi/vhost_scsi.c
+++ b/examples/vhost_scsi/vhost_scsi.c
@@ -191,7 +191,7 @@  vhost_scsi_bdev_construct(const char *bdev_name, const char *bdev_serial,
 	/* use memory as disk storage space */
 	bdev->data = rte_zmalloc(NULL, blk_cnt * blk_size, 0);
 	if (!bdev->data) {
-		fprintf(stderr, "no enough reseverd huge memory for disk\n");
+		fprintf(stderr, "no enough reserved huge memory for disk\n");
 		return NULL;
 	}