From nobody Wed Nov 27 13:04:30 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=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1699254887; cv=none; d=zohomail.com; s=zohoarc; b=GEhbIhzxDcPIGR/2DvorIeHWLGaVbLPkHEb5pitH/u3RAABOQou5SudzHqTkzJBumRfNnyo/ZdxwbE7fOxWHmqX/90i2ltVrcHnGyJGDsjn+t152ujisBFwD/iztGVKtRHs14JANWwyI16d4MT5PBvy6Kpr0CxS2lRbWIq3jr4w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1699254887; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=OiP1/Ua4j4jM2DfSNRL0DQxjZJY9wQwNeyA3e93brtI=; b=CwlSywVcPiDgQ0MaZIVEFo6TwT/s0i/bXem284b3tL/f5ygDkbHP9WAfeFRj9MNnUmOBzb5zG/Xj7q0zHZpr1KTKOb+cIZX6f576dzFX5ItS8X9n0qJc2RuvprnAFKi22kuX8fm3GiK5AG0BGwe71bQPY0x8zSPsbE8JjvYwslc= 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 16992548875257.399617685824751; Sun, 5 Nov 2023 23:14:47 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qzta7-0005QL-DJ; Mon, 06 Nov 2023 01:59:31 -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 1qztZf-0004ed-PX for qemu-devel@nongnu.org; Mon, 06 Nov 2023 01:59:08 -0500 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qztZd-0001SK-L2 for qemu-devel@nongnu.org; Mon, 06 Nov 2023 01:59:03 -0500 Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1cc3bc5df96so27810025ad.2 for ; Sun, 05 Nov 2023 22:59:01 -0800 (PST) Received: from stoup.. ([71.212.149.95]) by smtp.gmail.com with ESMTPSA id c3-20020a170902d48300b001c62e3e1286sm5167130plg.166.2023.11.05.22.58.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 22:58:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699253940; x=1699858740; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=OiP1/Ua4j4jM2DfSNRL0DQxjZJY9wQwNeyA3e93brtI=; b=gzmAevuzOlBaeU6GkmN3l1nbXRDPncIsfbgylV1WdRg7J0ao2FP24jeZDn63t9BiE+ 5Z/hda9XIJKCyAw5OgK1KrXspEpeprfqxn7za0jE5UwNL30EikVpitV/Av7CaQ7cjTa5 6KfOtd+sUgCtZl5mw3HvfIgWvGY3lzmAe0Z9D6dE6qmFtuufPqvr4PtTxzPslsUtSNe9 0dFYfr5D3Htp2aYwcn/gz+yYArOrl6xcqTxOLkcLvC2kfEOkdWK9Izd5d3h1ssjioYhw DF376+WHUFbBpiMOWd56tfXZv67DcPBtJO82mlId4qV+fOWT3ijPbiNlC7ajX9SkaRAZ EvBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699253940; x=1699858740; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OiP1/Ua4j4jM2DfSNRL0DQxjZJY9wQwNeyA3e93brtI=; b=GO2WwnzVoHbFjO20KdOfSlWtjZf2H2l/x9nsJNFuxHKajBDOFAp8YPTxRh6jzrdT++ GaS5GcEJ+Rn1EzIYLpTSOAAAjbl7GTvf6sEmiUv5cRzlr+2FACyAHeTUD25bXcTshapH ad6aBHFxjaOs9inljUV6/RXyR95M9LqyoQbTkBoawGYpHlOva/GGjx75tvNTFtZRCAwh uduGmGNI/JVAPIsbM3b71ZC8JvcsEXXvovSOCYAGnqDr5Y7jv0OtdD/hKrx0w5f8zb2x 3wmDFhdjFqw+oE0Kps2h3b3HwJ7wmrbHwH0rGfvHMRr2Gsusvp/L/AxyFo7wcSHa2Zx7 mzpg== X-Gm-Message-State: AOJu0Yx6dzJkHTt3QWGIVfmSJE1538qsNII2ki8jxHDifBhxKoTIt3lk XD/rK2FDqkvXS4TbQ6zAtUaNKd3ZkYMPY6iGQCg= X-Google-Smtp-Source: AGHT+IF7mBwqP6DH1A97aLxg7ia+DIQDvTPqkVP1S6iEgpgGq+vFZhx4slm2fFVmJXZSQc7651fsUw== X-Received: by 2002:a17:902:e883:b0:1cc:6dd4:594d with SMTP id w3-20020a170902e88300b001cc6dd4594dmr15341454plg.42.1699253940105; Sun, 05 Nov 2023 22:59:00 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: quintela@redhat.com, peterx@redhat.com, farosas@suse.de, leobras@redhat.com Subject: [PATCH 35/71] hw/ipack: Constify VMState Date: Sun, 5 Nov 2023 22:57:51 -0800 Message-Id: <20231106065827.543129-36-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231106065827.543129-1-richard.henderson@linaro.org> References: <20231106065827.543129-1-richard.henderson@linaro.org> 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=2607:f8b0:4864:20::62f; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62f.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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1699254888317100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Richard Henderson --- hw/ipack/ipack.c | 2 +- hw/ipack/tpci200.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/ipack/ipack.c b/hw/ipack/ipack.c index ae20f36da6..c39dbb481f 100644 --- a/hw/ipack/ipack.c +++ b/hw/ipack/ipack.c @@ -93,7 +93,7 @@ const VMStateDescription vmstate_ipack_device =3D { .name =3D "ipack_device", .version_id =3D 1, .minimum_version_id =3D 1, - .fields =3D (VMStateField[]) { + .fields =3D (const VMStateField[]) { VMSTATE_INT32(slot, IPackDevice), VMSTATE_END_OF_LIST() } diff --git a/hw/ipack/tpci200.c b/hw/ipack/tpci200.c index 6b3edbf017..88eef4b830 100644 --- a/hw/ipack/tpci200.c +++ b/hw/ipack/tpci200.c @@ -619,7 +619,7 @@ static const VMStateDescription vmstate_tpci200 =3D { .name =3D "tpci200", .version_id =3D 1, .minimum_version_id =3D 1, - .fields =3D (VMStateField[]) { + .fields =3D (const VMStateField[]) { VMSTATE_PCI_DEVICE(dev, TPCI200State), VMSTATE_BOOL_ARRAY(big_endian, TPCI200State, 3), VMSTATE_UINT8_ARRAY(ctrl, TPCI200State, N_MODULES), --=20 2.34.1