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: 10602021 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 1574114DA for ; Mon, 17 Sep 2018 02:53:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EF5E129397 for ; Mon, 17 Sep 2018 02:53:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E28D429556; Mon, 17 Sep 2018 02:53:07 +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 94D6029397 for ; Mon, 17 Sep 2018 02:53:07 +0000 (UTC) Received: from localhost ([::1]:33407 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1jes-0007b0-LE for patchwork-qemu-devel@patchwork.kernel.org; Sun, 16 Sep 2018 22:53:06 -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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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