diff mbox series

chardev/char-fe: Fix typos

Message ID 20180813093402.10852-1-jusual@mail.ru (mailing list archive)
State New, archived
Headers show
Series chardev/char-fe: Fix typos | expand

Commit Message

Denis V. Lunev" via Aug. 13, 2018, 9:34 a.m. UTC
Fixup some typos in the comments.

Signed-off-by: Julia Suvorova <jusual@mail.ru>
---
 include/chardev/char-fe.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Comments

Peter Maydell Aug. 13, 2018, 9:36 a.m. UTC | #1
On 13 August 2018 at 10:34, Julia Suvorova via Qemu-devel
<qemu-devel@nongnu.org> wrote:
> Fixup some typos in the comments.
>
> Signed-off-by: Julia Suvorova <jusual@mail.ru>
> ---
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

thanks
-- PMM
Paolo Bonzini Aug. 13, 2018, 10:12 a.m. UTC | #2
On 13/08/2018 11:34, Julia Suvorova wrote:
> Fixup some typos in the comments.
> 
> Signed-off-by: Julia Suvorova <jusual@mail.ru>
> ---
>  include/chardev/char-fe.h | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/include/chardev/char-fe.h b/include/chardev/char-fe.h
> index 71cd069478..c67271f1ba 100644
> --- a/include/chardev/char-fe.h
> +++ b/include/chardev/char-fe.h
> @@ -113,7 +113,7 @@ void qemu_chr_fe_accept_input(CharBackend *be);
>  /**
>   * @qemu_chr_fe_disconnect:
>   *
> - * Close a fd accpeted by character backend.
> + * Close a fd accepted by character backend.
>   * Without associated Chardev, do nothing.
>   */
>  void qemu_chr_fe_disconnect(CharBackend *be);
> @@ -122,7 +122,7 @@ void qemu_chr_fe_disconnect(CharBackend *be);
>   * @qemu_chr_fe_wait_connected:
>   *
>   * Wait for characted backend to be connected, return < 0 on error or
> - * if no assicated Chardev.
> + * if no associated Chardev.
>   */
>  int qemu_chr_fe_wait_connected(CharBackend *be, Error **errp);
>  
> @@ -186,7 +186,7 @@ guint qemu_chr_fe_add_watch(CharBackend *be, GIOCondition cond,
>   * @buf the data
>   * @len the number of bytes to send
>   *
> - * Returns: the number of bytes consumed (0 if no assicated Chardev)
> + * Returns: the number of bytes consumed (0 if no associated Chardev)
>   */
>  int qemu_chr_fe_write(CharBackend *be, const uint8_t *buf, int len);
>  
> @@ -201,7 +201,7 @@ int qemu_chr_fe_write(CharBackend *be, const uint8_t *buf, int len);
>   * @buf the data
>   * @len the number of bytes to send
>   *
> - * Returns: the number of bytes consumed (0 if no assicated Chardev)
> + * Returns: the number of bytes consumed (0 if no associated Chardev)
>   */
>  int qemu_chr_fe_write_all(CharBackend *be, const uint8_t *buf, int len);
>  
> @@ -213,7 +213,7 @@ int qemu_chr_fe_write_all(CharBackend *be, const uint8_t *buf, int len);
>   * @buf the data buffer
>   * @len the number of bytes to read
>   *
> - * Returns: the number of bytes read (0 if no assicated Chardev)
> + * Returns: the number of bytes read (0 if no associated Chardev)
>   */
>  int qemu_chr_fe_read_all(CharBackend *be, uint8_t *buf, int len);
>  
> 

Queued, thanks.

Paolo
diff mbox series

Patch

diff --git a/include/chardev/char-fe.h b/include/chardev/char-fe.h
index 71cd069478..c67271f1ba 100644
--- a/include/chardev/char-fe.h
+++ b/include/chardev/char-fe.h
@@ -113,7 +113,7 @@  void qemu_chr_fe_accept_input(CharBackend *be);
 /**
  * @qemu_chr_fe_disconnect:
  *
- * Close a fd accpeted by character backend.
+ * Close a fd accepted by character backend.
  * Without associated Chardev, do nothing.
  */
 void qemu_chr_fe_disconnect(CharBackend *be);
@@ -122,7 +122,7 @@  void qemu_chr_fe_disconnect(CharBackend *be);
  * @qemu_chr_fe_wait_connected:
  *
  * Wait for characted backend to be connected, return < 0 on error or
- * if no assicated Chardev.
+ * if no associated Chardev.
  */
 int qemu_chr_fe_wait_connected(CharBackend *be, Error **errp);
 
@@ -186,7 +186,7 @@  guint qemu_chr_fe_add_watch(CharBackend *be, GIOCondition cond,
  * @buf the data
  * @len the number of bytes to send
  *
- * Returns: the number of bytes consumed (0 if no assicated Chardev)
+ * Returns: the number of bytes consumed (0 if no associated Chardev)
  */
 int qemu_chr_fe_write(CharBackend *be, const uint8_t *buf, int len);
 
@@ -201,7 +201,7 @@  int qemu_chr_fe_write(CharBackend *be, const uint8_t *buf, int len);
  * @buf the data
  * @len the number of bytes to send
  *
- * Returns: the number of bytes consumed (0 if no assicated Chardev)
+ * Returns: the number of bytes consumed (0 if no associated Chardev)
  */
 int qemu_chr_fe_write_all(CharBackend *be, const uint8_t *buf, int len);
 
@@ -213,7 +213,7 @@  int qemu_chr_fe_write_all(CharBackend *be, const uint8_t *buf, int len);
  * @buf the data buffer
  * @len the number of bytes to read
  *
- * Returns: the number of bytes read (0 if no assicated Chardev)
+ * Returns: the number of bytes read (0 if no associated Chardev)
  */
 int qemu_chr_fe_read_all(CharBackend *be, uint8_t *buf, int len);