examples/vhost: fix a typo

Message ID 1547477267-8131-1-git-send-email-ramirose@gmail.com (mailing list archive)
State Accepted, archived
Delegated to: Maxime Coquelin
Headers
Series examples/vhost: fix a typo |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK
ci/mellanox-Performance-Testing success Performance Testing PASS
ci/intel-Performance-Testing success Performance Testing PASS

Commit Message

Rami Rosen Jan. 14, 2019, 2:47 p.m. UTC
  This minor patch fixes a typo in examples/vhost/main.c.

Fixes: d19533e86f1d ("examples/vhost: copy old vhost example")

Signed-off-by: Rami Rosen <ramirose@gmail.com>
---
 examples/vhost/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Gavin Hu Jan. 14, 2019, 3:37 p.m. UTC | #1
> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of Rami Rosen
> Sent: Monday, January 14, 2019 10:48 PM
> To: dev@dpdk.org
> Cc: maxime.coquelin@redhat.com; huawei.xie@intel.com;
> tiwei.bie@intel.com; Rami Rosen <ramirose@gmail.com>
> Subject: [dpdk-dev] [PATCH] examples/vhost: fix a typo
>
> This minor patch fixes a typo in examples/vhost/main.c.
>
> Fixes: d19533e86f1d ("examples/vhost: copy old vhost example")
>
> Signed-off-by: Rami Rosen <ramirose@gmail.com>
> ---
>  examples/vhost/main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/examples/vhost/main.c b/examples/vhost/main.c
> index dc9ea10..c4bdd3c 100644
> --- a/examples/vhost/main.c
> +++ b/examples/vhost/main.c
> @@ -1220,7 +1220,7 @@ static void virtio_tx_offload(struct rte_mbuf *m)
>
>  /*
>   * A new device is added to a data core. First the device is added to the
> main linked list
> - * and the allocated to a specific data core.
> + * and then allocated to a specific data core.
>   */
>  static int
>  new_device(int vid)
> --
> 1.8.3.1

Reviewed-by: Gavin Hu <gavin.hu@arm.com>

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
  
Thomas Monjalon Jan. 15, 2019, 1:47 a.m. UTC | #2
14/01/2019 16:37, Gavin Hu (Arm Technology China):
> 
> > -----Original Message-----
> > From: dev <dev-bounces@dpdk.org> On Behalf Of Rami Rosen
> > Sent: Monday, January 14, 2019 10:48 PM
> > To: dev@dpdk.org
> > Cc: maxime.coquelin@redhat.com; huawei.xie@intel.com;
> > tiwei.bie@intel.com; Rami Rosen <ramirose@gmail.com>
> > Subject: [dpdk-dev] [PATCH] examples/vhost: fix a typo
> >
> > This minor patch fixes a typo in examples/vhost/main.c.
> >
> > Fixes: d19533e86f1d ("examples/vhost: copy old vhost example")
> >
> > Signed-off-by: Rami Rosen <ramirose@gmail.com>
> 
> Reviewed-by: Gavin Hu <gavin.hu@arm.com>

+Cc stable

Applied, thanks
  

Patch

diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index dc9ea10..c4bdd3c 100644
--- a/examples/vhost/main.c
+++ b/examples/vhost/main.c
@@ -1220,7 +1220,7 @@  static void virtio_tx_offload(struct rte_mbuf *m)
 
 /*
  * A new device is added to a data core. First the device is added to the main linked list
- * and the allocated to a specific data core.
+ * and then allocated to a specific data core.
  */
 static int
 new_device(int vid)