From patchwork Wed Sep 5 06:49:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Qiang X-Patchwork-Id: 10588339 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 AE1085A4 for ; Wed, 5 Sep 2018 06:49:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8EE8E29791 for ; Wed, 5 Sep 2018 06:49:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 82B86297DF; Wed, 5 Sep 2018 06:49:56 +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_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,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 97D9029791 for ; Wed, 5 Sep 2018 06:49:54 +0000 (UTC) Received: from localhost ([::1]:54172 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fxRdR-000358-NT for patchwork-qemu-devel@patchwork.kernel.org; Wed, 05 Sep 2018 02:49:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54240) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fxRcp-0002YG-IV for qemu-devel@nongnu.org; Wed, 05 Sep 2018 02:49:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fxRcm-0005AS-Dj for qemu-devel@nongnu.org; Wed, 05 Sep 2018 02:49:15 -0400 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]:33044) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fxRck-00058C-Fi for qemu-devel@nongnu.org; Wed, 05 Sep 2018 02:49:12 -0400 Received: by mail-pg1-x542.google.com with SMTP id s7-v6so2942649pgc.0 for ; Tue, 04 Sep 2018 23:49:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=7tN0/QMnWCX05W++euEO0NLH92wuMUHIcKVNSGP4fbg=; b=PGL8P+3ShO8F/z/vp0v/tlwztXAHg9OLKIsyCndSaUOKXhbmhMU/j8oiRV10sY/J1M WRI1st02iZ1GdytBHesMLGBu/ErM04IeuIq1LtLiUPiReFdW4cICv9yv6ir32VS5oBHa nygPdgmK2+AOaNWFZALFx4boVbAGTiayhD6GLaptSaHbpNIrxFc6FENdvd5FfrqAnLJM SAztRmsCFWoNykzRbR0g8NKz1Wz8SWA7zOemNZQvJOLyplMlaSbrIdygjUGRm7AzimnU TRnThz/qhCNj5w+QNnI+3OU9kMysQ2UyBK5haQeVl3vnebxRRiiFJsIlmJbE4wzuGCy8 hvJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=7tN0/QMnWCX05W++euEO0NLH92wuMUHIcKVNSGP4fbg=; b=HvIxm2C5lg4lVCAAPFHvIqW5SMYK2XpxBIjetwoJ3WwWuCR+TanWlXb3tWrLDNj6iv vJUrjNKXmwU47+b+Wx7JXNHfs8LnYxg4QzDueuudFLZYQ/X891gJjGWvwirugFM//TdX KoG2lQm6rC87KNWtNhNOtGw8gegVN+DdvT1vJ+1JEsBo0mNJLTd8cSiJgewzqcy/T73F 8eKGpmRZNlwb0IiZf1EqC/zsZOmotOJeHalhmKSberH+fPkCUaJ9wMOtPMI9aYi3TtD2 Ueexc3eja14RiUHxK2GZLCN1DubN+9XXV3xlue4CdrOpoWo1J3L82ASX99rCg8IOAlAU ZzsQ== X-Gm-Message-State: APzg51AXr+1Nyq0g6XNc5Uy/G0e0rWT+ylaJYWOzwwU+JIO5QMD7pRza aWOm6qVDZDhmwSauHFd5Cf4= X-Google-Smtp-Source: ANB0VdYifjrGCf86zGTc/z/3v4Ks6dT9BmwX+l48ZX2p1LqI7Mo6wyIIKxaE1qBf48sLjyW4d3X3uA== X-Received: by 2002:a62:aa02:: with SMTP id e2-v6mr38713906pff.211.1536130148119; Tue, 04 Sep 2018 23:49:08 -0700 (PDT) Received: from localhost.localdomain.localdomain ([103.65.40.65]) by smtp.gmail.com with ESMTPSA id h130-v6sm1229915pgc.88.2018.09.04.23.49.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Sep 2018 23:49:07 -0700 (PDT) From: Li Qiang To: pbonzini@redhat.com, armbru@redhat.com, f4bug@amsat.org Date: Tue, 4 Sep 2018 23:49:01 -0700 Message-Id: <1536130141-2742-1-git-send-email-liq3ea@gmail.com> X-Mailer: git-send-email 1.8.3.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::542 Subject: [Qemu-devel] [PATCH] qdev: fix a typo in comment 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: , Cc: Li Qiang , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Found by reading code. Signed-off-by: Li Qiang --- hw/core/qdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/core/qdev.c b/hw/core/qdev.c index 529b82de18..7e4bfcb8f7 100644 --- a/hw/core/qdev.c +++ b/hw/core/qdev.c @@ -643,7 +643,7 @@ static void qdev_get_legacy_property(Object *obj, Visitor *v, * the string depends on the property type. Legacy properties are only * needed for "info qtree". * - * Do not use this is new code! QOM Properties added through this interface + * Do not use this in new code! QOM Properties added through this interface * will be given names in the "legacy" namespace. */ static void qdev_property_add_legacy(DeviceState *dev, Property *prop,