[v2,15/18] vhost: fix typo in comment
Checks
Commit Message
Yet another spelling error found by codespell.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
lib/vhost/rte_vhost.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
Hi Stehpen,
On 9/13/21 6:10 PM, Stephen Hemminger wrote:
> Yet another spelling error found by codespell.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
> lib/vhost/rte_vhost.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/lib/vhost/rte_vhost.h b/lib/vhost/rte_vhost.h
> index 8d875e932297..c36dfc705b04 100644
> --- a/lib/vhost/rte_vhost.h
> +++ b/lib/vhost/rte_vhost.h
> @@ -776,7 +776,7 @@ rte_vhost_get_vhost_ring_inflight(int vid, uint16_t vring_idx,
> /**
> * Set split inflight descriptor.
> *
> - * This function save descriptors that has been comsumed in available
> + * This function save descriptors that has been consumed in available
You missed my comment on v1:
s/that has been/that have been/
> * ring
> *
> * @param vid
> @@ -796,7 +796,7 @@ rte_vhost_set_inflight_desc_split(int vid, uint16_t vring_idx,
> /**
> * Set packed inflight descriptor and get corresponding inflight entry
> *
> - * This function save descriptors that has been comsumed
> + * This function save descriptors that has been consumed
Same here.
> *
> * @param vid
> * vhost device ID
>
@@ -776,7 +776,7 @@ rte_vhost_get_vhost_ring_inflight(int vid, uint16_t vring_idx,
/**
* Set split inflight descriptor.
*
- * This function save descriptors that has been comsumed in available
+ * This function save descriptors that has been consumed in available
* ring
*
* @param vid
@@ -796,7 +796,7 @@ rte_vhost_set_inflight_desc_split(int vid, uint16_t vring_idx,
/**
* Set packed inflight descriptor and get corresponding inflight entry
*
- * This function save descriptors that has been comsumed
+ * This function save descriptors that has been consumed
*
* @param vid
* vhost device ID