From patchwork Mon Jul 25 14:05:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 593284 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:b811:0:0:0:0 with SMTP id fc17csp2721033mab; Mon, 25 Jul 2022 07:22:22 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u7/Hn5CGCMuFj/4Y/fJ2D9BtJBnGJeO7U9GU8Jzfn8PBoLQcDHBYNcZX2s4DIYRq5N2JY6 X-Received: by 2002:a05:620a:2454:b0:6b6:ed0:aade with SMTP id h20-20020a05620a245400b006b60ed0aademr9416151qkn.54.1658758942147; Mon, 25 Jul 2022 07:22:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658758942; cv=none; d=google.com; s=arc-20160816; b=qyr3+CKizz1PvUpMy7LIMdoB45etoALmnt3OL7mS5IvrVAAR84F1S9R/sB+ya61DEm pzos9gcG92+zUeRUaIdgcDa/PCLT992z1eQOwoil7ad0VR37c49/jx8b5RrweDXbYlo5 iAa2vhfckhHfDnwpPxmgyTzRHodNXNsWzFfPR0lAjTd018D7p5RgM+pVM4LEQBt+WpaX SAtqF11lWqegNqxK6I/OBQ1pWILBa/THbrmtKc58XfvfTf5JzjzLmnTDy+FxWRKKRSHx yhHzxgDnmStc7iM7sPb8lLsciqQWcCCRpL/Nztwk/8BwX3x/zhQIp4p8RWgFdyxKTCdQ GR9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=B3jT/+HPPsIEXc/KjYHBbDuZ3dYXOI8VpfNKzZc6+cU=; b=DMZTH1er4lyfLSYkIt6hGWEqRkXpBXvzWRKSspE3ZqOR6D15COKernVCDmJ175ZpOT VawCS2gp8/hh/iq6cqn9fs0A3cqK52TinRHIgpSQn5eMa6VujI/Sm142TgSK8lvh2a6X dNF4F3x6ygLhBAk71lSjFRzrfmqnC6+NJVSEu/CEEPjAa4zIq0+J9uaY4AnIyqoSkKCp 6n6bKguwZoTWYoTMMcNMzJ5xh89cZa0sShIueqVOyfdN0Md+sek8ajqyfBKfC1U224zW oqy/XA/GOv6ab7xUJTLiPePfNwv6QSEtBN78RTUlB3ezteA6Rlo8EMoYwgDXIMfjyhNO YwMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F5R7JsTW; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id bj23-20020a05620a191700b006b5d03e9d76si8659860qkb.558.2022.07.25.07.22.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Jul 2022 07:22:22 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F5R7JsTW; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:36822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFyyT-0003VE-PI for patch@linaro.org; Mon, 25 Jul 2022 10:22:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFyiO-00016W-Hh for qemu-devel@nongnu.org; Mon, 25 Jul 2022 10:05:44 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:40499) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFyiM-0000J8-VJ for qemu-devel@nongnu.org; Mon, 25 Jul 2022 10:05:44 -0400 Received: by mail-wm1-x335.google.com with SMTP id ay11-20020a05600c1e0b00b003a3013da120so9461088wmb.5 for ; Mon, 25 Jul 2022 07:05:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=B3jT/+HPPsIEXc/KjYHBbDuZ3dYXOI8VpfNKzZc6+cU=; b=F5R7JsTWCfgXv3Lf78HYG3mpIyMweWmppnXyvoueB0cPAWs/8+BzgIfRkTAZfBcfLM 7zQPiUeyONVPCVvzB4O5sOnjXO7lsSdz4ttfQWPO2THBNS4VjlVHxjWG5BDLAz/Er968 Lamz46heag7ey/fTQHXrVS78CMws6LmzYMgCSqHjLPfeJZt46rLCMtzoTUkU9FNwca/2 u+i5GTaUGAe8Ef1/jaytJczu3x17si0v1ZcmIebL8DMyLXkAf3i58qlXfxkmSLvKuRZ9 85EmHOTETfdEYNz7EtsZnu1Ok3yFpDSrqgLLR6ISB0kn6iwrWY7YPcZugpCI5drwrXvu ZdvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=B3jT/+HPPsIEXc/KjYHBbDuZ3dYXOI8VpfNKzZc6+cU=; b=Tw2SlVSitetWPf1crWXBNxGu/8W5rh0Qsyldaf8Y0SpDD7yppdPdbUd4HCFmFsNR19 hORxisHzNUKQWtWPjfWe+IYqR0vIXPPNBwmAdxe/VpFf65wgqUvgC8WkV2gFt4rtPPpJ hV0EJiJzluxPH60XRfgLwoGD6WG0zhjO10jtP8l1Xe3y4smvrg8ROgeY9k5TeVfDeUy1 8ohCsyagaC2hWwtGDWNl0/Ua+72T8GZTHVB5UQTX8TkBdpp4yKOrod93PBb3z3g325kT 9TeZSIVeWaX5sYS9w8pUtd4d2Qn0DKzQqPGEyQktmFmKgHf5D1jeUfzGpqxGrwv5rYzf nbIA== X-Gm-Message-State: AJIora/V7Y7elcDs209soCuC/pAw8OYbCmDe4KVIXvLbYgyCb5idNTEi HpD7+6+Gw3nu0wjKkEZNGJjgdg== X-Received: by 2002:a1c:2981:0:b0:3a2:ffe9:945c with SMTP id p123-20020a1c2981000000b003a2ffe9945cmr21066933wmp.38.1658757941610; Mon, 25 Jul 2022 07:05:41 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id d6-20020a5d6446000000b0021db2dcd0aasm14340627wrw.108.2022.07.25.07.05.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jul 2022 07:05:34 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 971BB1FFC4; Mon, 25 Jul 2022 15:05:21 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, peter.maydell@linaro.org, =?utf-8?q?Alex_Benn=C3=A9e?= , Richard Henderson Subject: [PATCH v1 12/13] docs/devel: fix description of OBJECT_DECLARE_SIMPLE_TYPE Date: Mon, 25 Jul 2022 15:05:19 +0100 Message-Id: <20220725140520.515340-13-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220725140520.515340-1-alex.bennee@linaro.org> References: <20220725140520.515340-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x335.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Since 30b5707c26 (qom: Remove module_obj_name parameter from OBJECT_DECLARE* macros) we don't need the additional two parameters. Fix the documentation. Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20220712103131.2006653-1-alex.bennee@linaro.org> --- docs/devel/qom.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/devel/qom.rst b/docs/devel/qom.rst index e5fe3597cd..0cf9a714f0 100644 --- a/docs/devel/qom.rst +++ b/docs/devel/qom.rst @@ -292,8 +292,7 @@ in the header file: .. code-block:: c :caption: Declaring a simple type - OBJECT_DECLARE_SIMPLE_TYPE(MyDevice, my_device, - MY_DEVICE, DEVICE) + OBJECT_DECLARE_SIMPLE_TYPE(MyDevice, MY_DEVICE) This is equivalent to the following: