From patchwork Mon Aug 13 09:34:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Denis V. Lunev\" via" X-Patchwork-Id: 10563951 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B0E5F13B4 for ; Mon, 13 Aug 2018 09:35:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ACA11288AA for ; Mon, 13 Aug 2018 09:35:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A0F5628F81; Mon, 13 Aug 2018 09:35:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CF95E288AA for ; Mon, 13 Aug 2018 09:35:07 +0000 (UTC) Received: from localhost ([::1]:38280 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fp9Fi-0005hh-Rd for patchwork-qemu-devel@patchwork.kernel.org; Mon, 13 Aug 2018 05:35:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fp9F2-0004RF-E4 for qemu-devel@nongnu.org; Mon, 13 Aug 2018 05:34:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fp9Ey-00021f-DW for qemu-devel@nongnu.org; Mon, 13 Aug 2018 05:34:24 -0400 Received: from smtp29.i.mail.ru ([94.100.177.89]:47772) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fp9Ey-000213-1X for qemu-devel@nongnu.org; Mon, 13 Aug 2018 05:34:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Message-Id:Date:Subject:Cc:To:From; bh=yZWUQk+Zc1k3qTQx4qdG87JBK65o7SVEy5KVfNhPlLo=; b=pGqY6/jjRyRW4yc2X/bxXQ3u1U8s2sn+2M9BytyCVpyUmVGWB3vsGrFaYV7fqfkjCt380Ce0yYN8kEdyXJLEfB2vlLd0NRUh0eSHcI5G8/Ov6OoDsELCB3i7DcJt/SqrIvCn+6oXh+6Pop0xfb2Saj3g8b+Yp+yIkEon1l6Gyzg=; Received: by smtp29.i.mail.ru with esmtpa (envelope-from ) id 1fp9Ev-0000ZT-Pz; Mon, 13 Aug 2018 12:34:18 +0300 To: qemu-devel@nongnu.org Date: Mon, 13 Aug 2018 12:34:02 +0300 Message-Id: <20180813093402.10852-1-jusual@mail.ru> X-Mailer: git-send-email 2.17.1 Authentication-Results: smtp29.i.mail.ru; auth=pass smtp.auth=jusual@mail.ru smtp.mailfrom=jusual@mail.ru X-7FA49CB5: 0D63561A33F958A53F93878EFC8EE61CB3BEEFE6103E3293820498A25F97EBA38941B15DA834481F8AA50765F790063783E00425F71A4181389733CBF5DBD5E9B5C8C57E37DE458B4DA2F55E57A558BE49FD398EE364050FD76C6ED7039589DE302FCEF25BFAB345C4224003CC836476C0CAF46E325F83A522CA9DD8327EE4930A3850AC1BE2E735E906EF1839FB065562E881C05E58696E731C566533BA786A40A5AABA2AD371193C9F3DD0FB1AF5EB6BDDD5131A82B29C2623479134186CDE6BA297DBC24807EABDAD6C7F3747799A X-Mailru-Sender: 7766D515518070DE138AAC7428EA760D308D7B7408411D3CC2DE4CDD493A34D340463AE6877607357C4160E8B47E48163DDE9B364B0DF2898CB68AF7A628805D594FB4C9F0DBF412AE208404248635DF X-Mras: OK X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 94.100.177.89 Subject: [Qemu-devel] [PATCH] chardev/char-fe: Fix typos X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Julia Suvorova via Qemu-devel From: "Denis V. Lunev\" via" Reply-To: Julia Suvorova Cc: marcandre.lureau@redhat.com, Julia Suvorova , Paolo Bonzini Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Fixup some typos in the comments. Signed-off-by: Julia Suvorova Reviewed-by: Peter Maydell --- 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);