From patchwork Mon Sep 17 02:51:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Qiang X-Patchwork-Id: 970381 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=2001:4830:134:3::11; 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="dxZEH44y"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42D9fB4BySz9sCS for ; Mon, 17 Sep 2018 12:52:49 +1000 (AEST) Received: from localhost ([::1]:33407 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1jeX-0007b0-Vz for incoming@patchwork.ozlabs.org; Sun, 16 Sep 2018 22:52:46 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1jeB-0007ae-N6 for qemu-devel@nongnu.org; Sun, 16 Sep 2018 22:52:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g1je2-0006QW-Vf for qemu-devel@nongnu.org; Sun, 16 Sep 2018 22:52:19 -0400 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]:44802) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g1jdw-0006Mo-C2 for qemu-devel@nongnu.org; Sun, 16 Sep 2018 22:52:09 -0400 Received: by mail-pg1-x543.google.com with SMTP id r1-v6so6915990pgp.11 for ; Sun, 16 Sep 2018 19:52:01 -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=ILM88FULn3nS8M4bAOTCLaPTcIoSSclItQ4WcQcc1a0=; b=dxZEH44yRwbbObAIv+ct088/5ZeFcL1uUyk02FS+kv3sYtpw8b0qpNdMOwqjrMHdwc /uac+dXXgRq8cohyzvZXsUaIYjt7bcR6z20nRIh9hi3u6yRR67odZhMrvjXo+8AdHgvw +hLNIvRbo3SXaFjkCurKycj7JI3OEf+o7WraBdLzGXDuNd8TtMUjS4bm7Oxr8ylmsqao gAIy/5YoJE3FglrDomBhqzYY4iTI9ATqCxk/jiD9zybcyQXWTfVXRo+YIuOphiF5XHSS EEE6d/sG+Qp8ukq/alre1qu5yTRRWLzHOQo0scbEqN0exv5F08PRHCJClOJO6TwLQAsj PapA== 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=ILM88FULn3nS8M4bAOTCLaPTcIoSSclItQ4WcQcc1a0=; b=W3+LAx1Mv+pXI6b0klG9WLvoFpR21eY0DVVY+f1BFSeJKh28gcuc2C5zm6WvOELh5W NIQlA4G1xVXVwqp+o8uGC1PHpy7pTY8nfpbpV6+tjJBgw17ykRvUzX+gnuHJjqfclN03 dBLYkejlGuqfq+fTCB1NH507/pwm1LSn9qMaWigbaIsV4SGzMujbdaABbhHEd9BWSSBu qbl31Tf8riKWiFAYRJ1Bdw6dpDXRzRzt6gEC57R0kSrflILLq0v/ENIMv6m7Kk9UU4fy SL6Ee2J/cUgIobS9WKu7PuKCBucyMjzLKw9TbEEyQvAY8wfH3FELq8ts4e6ztz+pI1Zt xgsA== X-Gm-Message-State: APzg51B8gV3zB2feNC8W3WMuhHBWzV1glWYK0dMhfbVVQ06AX/NU548x oiHFsXK4bC/N3VQwVJTnFWk= X-Google-Smtp-Source: ANB0Vday5wyy0plBd1jx2lajriKP0lIsYxWMdCx7BmIlFrRUxSNYZHeDND8SAKgdu8AskiBTmHd9WQ== X-Received: by 2002:a62:e218:: with SMTP id a24-v6mr23357553pfi.75.1537152720938; Sun, 16 Sep 2018 19:52:00 -0700 (PDT) Received: from localhost.localdomain.localdomain ([103.65.40.101]) by smtp.gmail.com with ESMTPSA id i185-v6sm19340978pfg.89.2018.09.16.19.51.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 16 Sep 2018 19:51:58 -0700 (PDT) From: Li Qiang To: pbonzini@redhat.com Date: Sun, 16 Sep 2018 19:51:54 -0700 Message-Id: <1537152714-3162-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::543 Subject: [Qemu-devel] [PATCH] qom: fix comments for object_property_set_qobject function 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" Also make the definition and declare of this function's argument name the same. Signed-off-by: Li Qiang Reviewed-by: Markus Armbruster --- include/qom/qom-qobject.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/qom/qom-qobject.h b/include/qom/qom-qobject.h index 77cd717e3f..11803c6b57 100644 --- a/include/qom/qom-qobject.h +++ b/include/qom/qom-qobject.h @@ -30,13 +30,13 @@ struct QObject *object_property_get_qobject(Object *obj, const char *name, /** * object_property_set_qobject: * @obj: the object - * @ret: The value that will be written to the property. + * @value: The value that will be written to the property. * @name: the name of the property * @errp: returns an error if this function fails * * Writes a property to a object. */ -void object_property_set_qobject(Object *obj, struct QObject *qobj, +void object_property_set_qobject(Object *obj, struct QObject *value, const char *name, struct Error **errp); #endif