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: 966234 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=208.118.235.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="PGL8P+3S"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 424vSy5y1pz9s1x for ; Wed, 5 Sep 2018 16:49:37 +1000 (AEST) Received: from localhost ([::1]:54171 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fxRd8-0002YN-E7 for incoming@patchwork.ozlabs.org; Wed, 05 Sep 2018 02:49:34 -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+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" 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,