Skip to contentSkip to conversation

examples/vdpa: fix spelling error in message

PATCH Applied Stephen Hemminger 3 participants 4 messages Oct 18, 2018 – Oct 22, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 examples/vdpa: fix spelling error in message

---
 examples/vdpa/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
examples/vdpa/main.c +1 -1
index c5e8f58ec6d2..2ffbf2d8b4a3 100644
@@ -334,7 +334,7 @@ static void cmd_create_vdpa_port_parsed(void *parsed_result,
 	addr.type = PCI_ADDR;
 	did = rte_vdpa_find_device_id(&addr);
 	if (did < 0) {
-		cmdline_printf(cl, "Unable to find vdpa devide id.\n");
+		cmdline_printf(cl, "Unable to find vdpa divide id.\n");
 		return;
 	}
 
Signature · 1 line
2.17.1
#1 lore raw
Quoted 17 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Stephen Hemminger
Sent: Thursday, October 18, 2018 3:35 PM
To: [email protected]
Cc: Stephen Hemminger <[email protected]>
Subject: [dpdk-dev] [PATCH] examples/vdpa: fix spelling error in message

---
 examples/vdpa/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
examples/vdpa/main.c +0 -0
index c5e8f58ec6d2..2ffbf2d8b4a3 100644

examples/vdpa/main.c static void cmd_create_vdpa_port_parsed(void · line 338

Quoted 6 lines
examples/vdpa/main.c +1 -1
@@ -334,7 +334,7 @@ static void cmd_create_vdpa_port_parsed(void
 *parsed_result,
 	addr.type = PCI_ADDR;
 	did = rte_vdpa_find_device_id(&addr);
 	if (did < 0) {
-		cmdline_printf(cl, "Unable to find vdpa devide id.\n");
+		cmdline_printf(cl, "Unable to find vdpa divide id.\n");

<nit>
I'd guess this fix was meant to be "device" not "divide".
</nit>

#2 lore raw
Quoted 12 lines · Harry
Quoted 12 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Stephen Hemminger
Sent: Thursday, October 18, 2018 3:35 PM
To: [email protected]
Cc: Stephen Hemminger <[email protected]>
Subject: [dpdk-dev] [PATCH] examples/vdpa: fix spelling error in message

---
 examples/vdpa/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 15 lines

examples/vdpa/main.c static void cmd_create_vdpa_port_parsed(void · line 338

Quoted 11 lines
examples/vdpa/main.c +1 -1
index c5e8f58ec6d2..2ffbf2d8b4a3 100644
@@ -334,7 +334,7 @@ static void cmd_create_vdpa_port_parsed(void
 *parsed_result,
 	addr.type = PCI_ADDR;
 	did = rte_vdpa_find_device_id(&addr);
 	if (did < 0) {
-		cmdline_printf(cl, "Unable to find vdpa devide id.\n");
+		cmdline_printf(cl, "Unable to find vdpa divide id.\n");  

<nit>
I'd guess this fix was meant to be "device" not "divide".
</nit>

Damn you autocorrect...

Reviewed-by Applied
#3 lore raw
Quoted 31 lines · Stephen Hemminger
Quoted 12 lines · Harry
Quoted 12 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Stephen Hemminger
Sent: Thursday, October 18, 2018 3:35 PM
To: [email protected]
Cc: Stephen Hemminger <[email protected]>
Subject: [dpdk-dev] [PATCH] examples/vdpa: fix spelling error in message

---
 examples/vdpa/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 15 lines

examples/vdpa/main.c static void cmd_create_vdpa_port_parsed(void · line 338

Quoted 11 lines
examples/vdpa/main.c +1 -1
index c5e8f58ec6d2..2ffbf2d8b4a3 100644
@@ -334,7 +334,7 @@ static void cmd_create_vdpa_port_parsed(void
 *parsed_result,
 	addr.type = PCI_ADDR;
 	did = rte_vdpa_find_device_id(&addr);
 	if (did < 0) {
-		cmdline_printf(cl, "Unable to find vdpa devide id.\n");
+		cmdline_printf(cl, "Unable to find vdpa divide id.\n");  

<nit>
I'd guess this fix was meant to be "device" not "divide".
</nit>

Quoted 2 lines

Damn you autocorrect...

Fixes edbed86d1cc3 ("examples/vdpa: introduce a new sample for vDPA")

Applied to dpdk-next-net/master, thanks.

(used suggested fix by Harry)