From nobody Thu Jan 23 03:13:30 2025 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=1737476209; cv=none; d=zohomail.com; s=zohoarc; b=MVTuZG87/1oybXXv4K2YdiIRJuIeYos9wHkEmBz/izlaX6LEwQEKP1ynyJYIvY3W5Efzz3VxLbZyRtfQE6DC2lDQ8sCN8DsE/D855m0FhvdocLf+NsxU1FBclkxm7uNrQxb/+UBuxMVtw3+DnwUnjwRl1tgjkdsXREWDh9w9F/A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1737476209; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=AomZICEblHmS2tRR/TpaOZIzaerzgfZ1jQ2NFE9RpzI=; b=nwIcnRgjB/5Mb/YMabSNGCeiUJ9faPoNRGJzBE9rwbFe++CyMrJPG6NC03zrtLKurjQK80sUnjrmPYbsdNDeOk33fPsZeC1q5GLSjlFqXD+U9UxaEB9mrx7pq3iWtc/Z6mKDTByeehaWtP+9YTpnJ68rKVIvoGgyUb6mtN0JMd0= 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) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1737476209904206.38723160203244; Tue, 21 Jan 2025 08:16:49 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1taGv0-0006vU-Le; Tue, 21 Jan 2025 11:15:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1taGuz-0006vF-Kd for qemu-devel@nongnu.org; Tue, 21 Jan 2025 11:15:57 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1taGuy-0005TG-21 for qemu-devel@nongnu.org; Tue, 21 Jan 2025 11:15:57 -0500 Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-636-wB4NRJGjOAKO0NmZaAFc0w-1; Tue, 21 Jan 2025 11:15:52 -0500 Received: by mail-ed1-f71.google.com with SMTP id 4fb4d7f45d1cf-5daa661ec3dso7009961a12.3 for ; Tue, 21 Jan 2025 08:15:52 -0800 (PST) Received: from [192.168.10.3] ([176.206.124.70]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5db73eb5b64sm7102643a12.57.2025.01.21.08.15.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jan 2025 08:15:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1737476154; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=AomZICEblHmS2tRR/TpaOZIzaerzgfZ1jQ2NFE9RpzI=; b=CpL70nSRyyNwkqWyP5wr7/szLJYp/1KGvM9kc7FXpvfz/Icrw1bwWgjQIAStwUWgI4aqKq fIZRLWXLTtjSr1p9A8jZALLCKS401eyuaFoTtf0TtHadfAkJitNGdqEpF09QiqyKiejneg i4Ms8PzRUh6PwxVgXwwEy+KWbPLZrsE= X-MC-Unique: wB4NRJGjOAKO0NmZaAFc0w-1 X-Mimecast-MFC-AGG-ID: wB4NRJGjOAKO0NmZaAFc0w X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737476151; x=1738080951; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AomZICEblHmS2tRR/TpaOZIzaerzgfZ1jQ2NFE9RpzI=; b=sGDC38vTn0Q0qP4fV4lQS6SXUmU/a1+rrc/F1aGSgoTK8dVsDNDTxBp2Gfq3YKaYXu c9e46y6XGGbAjc4E43s1xtdUgdz484onMQLv9nPkx7nr/44o0z3SNgdP3vKjghxE9uLg RbxKW+gzV6DLjDI8pWzX6YKjTJWP3hEktrfjq+Mihap2aQLBljUBOXR4y5l+GOVN5q1e qphuprp2T6b0hkJVgHffid9bPU2qzS0YLfk/92qfCKeVkUlm80oAPpKkEeCrHPMZUeK9 qw/FBlgLjR+kz3ECBN3o05x7F7UPChaIumRSERSv4v4/atzv4HhbHuxRZlg/6EV8iBkN sc4w== X-Gm-Message-State: AOJu0Yze9DcFz3pRrnT9B1eb2YOpwmbtwf9wneyKYa20bvyxurjhDJu6 t7tvRCvpw1Wc+KFYCw4rGmuggcVm+NZst+zvHnVQv2q/tfq5qOVbH9d0QR/lpO2HufB3rwfvfue zqfzFvs2+rv2fTMe4u5KbvPbxIh4EjlPLbDErRb88xHsfHlHWlDYOMfDEgOm1fDm5qTImWf8QA9 riZslsxL5PGO1+pWcCpCE2noZWM7PmTjgs1ZxuEyU= X-Gm-Gg: ASbGncuC6RWXPF9Ukg77VMk0PeZtEGbWncMwmxIgudjQlWF7IZ636uVu43c0L7HWwEe 2pnP3L6yxmsCy3De3Oa6/FlA2gQkghXZPvlzQ5xFeeIr6XfBY/+MLykF52l1h0B9sG1QcAeY/2k fkEPIoI+/A97DZTFIh4mHNGTUiv+aQhpgUeBIRzf0IxDr5D44STgFabO3ZX0uSSsYapvot/8gol 1lmr9ipDFAzqe2OzdFzcC0XGNmXj68gxZ6HC3zSmkp3Bagzo5/TQU/6fo6obdHTOQUfeuWNcg== X-Received: by 2002:a05:6402:5207:b0:5d9:82bc:ad05 with SMTP id 4fb4d7f45d1cf-5db7d2f58c3mr16041510a12.8.1737476150799; Tue, 21 Jan 2025 08:15:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IHopTWTbupbzDs6KZOqTeKtPALXTbAsTN1hhb51iQQdhQisM7VgB1bsuqHoJ2TupyP7ZsjSIw== X-Received: by 2002:a05:6402:5207:b0:5d9:82bc:ad05 with SMTP id 4fb4d7f45d1cf-5db7d2f58c3mr16041467a12.8.1737476150268; Tue, 21 Jan 2025 08:15:50 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Cc: qemu-rust@nongnu.org Subject: [PATCH] rust: pl011: fix repr(C) for PL011Class Date: Tue, 21 Jan 2025 17:15:46 +0100 Message-ID: <20250121161546.2233086-1-pbonzini@redhat.com> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 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=170.10.133.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -51 X-Spam_score: -5.2 X-Spam_bar: ----- X-Spam_report: (-5.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.996, 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.086, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1737476210537019000 Content-Type: text/plain; charset="utf-8" Signed-off-by: Paolo Bonzini Reviewed-by: Zhao Liu --- rust/hw/char/pl011/src/device.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/hw/char/pl011/src/device.rs b/rust/hw/char/pl011/src/devi= ce.rs index c95ab49fd62..4f1080ff19f 100644 --- a/rust/hw/char/pl011/src/device.rs +++ b/rust/hw/char/pl011/src/device.rs @@ -130,6 +130,7 @@ pub struct PL011State { =20 qom_isa!(PL011State : SysBusDevice, DeviceState, Object); =20 +#[repr(C)] pub struct PL011Class { parent_class: ::Class, /// The byte string that identifies the device. --=20 2.47.1