From nobody Mon Apr 29 18:25:49 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1599783870; cv=none; d=zohomail.com; s=zohoarc; b=PTWV0z64P/K6Xiq4YuWWZpzZGwxzqUaQNv86gknebMTLpO9qwSxiMuAXBv/U94/phuosDrImEvyAoiurNlC+GlZJTOm/zanMvvXZFAoHdzLpor8R5sXhbF4gPaNFIp/DTClbMNKnF/v+zXP5AM113AK9IBzTAzpehbkO+WuN2kI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1599783870; h=Content-Type:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=ofoTr6pbu0BQoyMo87r9E4ANE2rBpWuYtrqlFMHgvrg=; b=QcQY+SN7Qtg7nPeZdi4qcCZkrPPaXt5I1gpQuQXl8i5iKuZR5sgcqcO3vmE3ZoidSoyQ5EUXuaNiYQp/VI2nhz4Y3c2wGRqxHiCzqQUj9Q+WHTSfqmZsfg2AtTH+FRGE5dugtRRoRdKYM3+sgwsBr+/i8udH3bDoFHKmRMobkQU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1599783870318265.0199598301426; Thu, 10 Sep 2020 17:24:30 -0700 (PDT) Received: from localhost ([::1]:59406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGWrc-0000S5-LX for importer@patchew.org; Thu, 10 Sep 2020 20:24:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGWqs-0008QT-Gm for qemu-devel@nongnu.org; Thu, 10 Sep 2020 20:23:42 -0400 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:29970 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kGWqp-0000tA-Ug for qemu-devel@nongnu.org; Thu, 10 Sep 2020 20:23:41 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-595-KVgwRT3BP_e4nmCD3MBTsQ-1; Thu, 10 Sep 2020 20:23:36 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 721171006714; Fri, 11 Sep 2020 00:23:35 +0000 (UTC) Received: from localhost (ovpn-66-226.rdu2.redhat.com [10.10.66.226]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2116210013D9; Fri, 11 Sep 2020 00:23:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1599783818; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ofoTr6pbu0BQoyMo87r9E4ANE2rBpWuYtrqlFMHgvrg=; b=X327hNTbgZaUqwAMNYB7hsUIGzLG1PU/0h/k5qKdAN2xyrsgGqjOgoPMypBA4CuadG/66L N7KFdoGUvAlbCQ7bHEBJFqHGhPu9fB1PX6kN7qQLGwQm4Zof21M61sf/c5zjsXLclXmV49 GvFIjYqmR9ZTOC/YkxOGyJ5sj5bTeLY= X-MC-Unique: KVgwRT3BP_e4nmCD3MBTsQ-1 Date: Thu, 10 Sep 2020 20:23:33 -0400 From: Eduardo Habkost To: qemu-devel@nongnu.org Subject: fixup! docs: Move object.h overview doc comment to qom.rst Message-ID: <20200911002333.GP1618070@habkost.net> References: <20200910221526.10041-1-ehabkost@redhat.com> <20200910221526.10041-10-ehabkost@redhat.com> MIME-Version: 1.0 In-Reply-To: <20200910221526.10041-10-ehabkost@redhat.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=ehabkost@redhat.com X-Mimecast-Spam-Score: 0.001 X-Mimecast-Originator: redhat.com Content-Disposition: inline Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=207.211.31.81; envelope-from=ehabkost@redhat.com; helo=us-smtp-delivery-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/10 20:23:38 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] 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, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= , Peter Maydell Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" On Thu, Sep 10, 2020 at 06:15:26PM -0400, Eduardo Habkost wrote: > Move the whole contents of the overview doc comment from object.h > to qom.rst. >=20 > This makes the documentation source easier to read and edit, and > also solves the backslash escaping issue at the typecasting macro > examples. >=20 > Signed-off-by: Eduardo Habkost Fixup for a bug I introduced accidentally before sending the series. Signed-off-by: Eduardo Habkost --- diff --git a/docs/devel/qom.rst b/docs/devel/qom.rst index 2070a2ced4..1a2e5dc661 100644 --- a/docs/devel/qom.rst +++ b/docs/devel/qom.rst @@ -80,7 +80,7 @@ specific type: .. code-block:: :caption: Typecasting macros =20 -#define MY_DEVICE_GET_CLASS(obj) \ + #define MY_DEVICE_GET_CLASS(obj) \ OBJECT_GET_CLASS(MyDeviceClass, obj, TYPE_MY_DEVICE) #define MY_DEVICE_CLASS(klass) \ OBJECT_CLASS_CHECK(MyDeviceClass, klass, TYPE_MY_DEVICE) --=20 Eduardo