From nobody Mon Feb 9 22:38:21 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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 ARC-Seal: i=1; a=rsa-sha256; t=1599191415; cv=none; d=zohomail.com; s=zohoarc; b=g6Y+k/NliyEUk4iE2FnZacv+qKZtnQXj1I4bHuvOLiQgHz9o0SXNXVt2yakH/stpqSJ+mgXpHMEKIIqZ1b8h+2jfUw0ngSDqlgWm8oZC8juJb+woXqQZzMoMELCE7UJGP50KGsMT+NVbnKC5xclpg8yjbqnYBEQT63L/laFbDJQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1599191415; h=Content-Type:Content-Transfer-Encoding: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=5AdetAakSmcZK9WLH6X4dL4JPiaqJhHjy1Jxj9HjbUw=; b=cZMkA/s2nfFuc/0g8WW3TsNy8e5ACdvwck3j/FrW+ATWdGngrd3u+C6CPn4mqSUHbdWgm15lxKNJtk8FNFdgNau0bEqhETJB5ON4WhMJVd5mNkg6WPOy01WD5xAvgT44p/s6aeEnegBII6/RPwuOWEh1v9nm4FmDoNsPy3tCcuM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1599191415480215.45255944514213; Thu, 3 Sep 2020 20:50:15 -0700 (PDT) Received: from localhost ([::1]:41784 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kE2ju-0007Yz-Jt for importer@patchew.org; Thu, 03 Sep 2020 23:50:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kE2hR-0002Kk-FA; Thu, 03 Sep 2020 23:47:41 -0400 Received: from ozlabs.org ([203.11.71.1]:43877) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kE2hN-0004sJ-JO; Thu, 03 Sep 2020 23:47:41 -0400 Received: by ozlabs.org (Postfix, from userid 1007) id 4BjNsn206Pz9sVK; Fri, 4 Sep 2020 13:47:25 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1599191245; bh=qgx6z9rQQE1xqJs/Hitt+hn4TaVazW9OJAaF7qJoeT4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VSTaUJ9wbCfFzx6O4p5797IKztGmTv3foshyz/xlD2OEX/5voMVmM3gnptCsW46X5 DVJ+bY4gF6unuofLShuIs3QtOeLjKL7LbijRC2a9dfNlnQr1LYGA2VY22E7x2SpGPX EC69/On4Nw15VBNGWDVqtgQq4bizQ+jMWg+uoAaM= From: David Gibson To: peter.maydell@linaro.org Subject: [PULL 01/30] adb: Correct class size on TYPE_ADB_DEVICE Date: Fri, 4 Sep 2020 13:46:50 +1000 Message-Id: <20200904034719.673626-2-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200904034719.673626-1-david@gibson.dropbear.id.au> References: <20200904034719.673626-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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=203.11.71.1; envelope-from=dgibson@ozlabs.org; helo=ozlabs.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/03 23:47:26 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, SPF_HELO_PASS=-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: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , danielhb413@gmail.com, qemu-devel@nongnu.org, groug@kaod.org, qemu-ppc@nongnu.org, =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , bauerman@linux.ibm.com, David Gibson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) The TypeInfo incorrectly just lets the class size be inherited. It won't actually break things, since the class is abstract, but we should get it right. Signed-off-by: David Gibson Reviewed-by: C=C3=A9dric Le Goater Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- hw/input/adb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/input/adb.c b/hw/input/adb.c index 013fcc9c54..84331b9fce 100644 --- a/hw/input/adb.c +++ b/hw/input/adb.c @@ -309,6 +309,7 @@ static void adb_device_class_init(ObjectClass *oc, void= *data) static const TypeInfo adb_device_type_info =3D { .name =3D TYPE_ADB_DEVICE, .parent =3D TYPE_DEVICE, + .class_size =3D sizeof(ADBDeviceClass), .instance_size =3D sizeof(ADBDevice), .abstract =3D true, .class_init =3D adb_device_class_init, --=20 2.26.2