From nobody Tue Nov 26 22:39:51 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=1703885607; cv=none; d=zohomail.com; s=zohoarc; b=AlQ1L6g4rFU8wHzR0qB2oO/EPjTuv5pLGMB/bZAJ6H4xMUuV8MPSWEIEZQhXs6/MU10NA8BD/bIvTajg0a9omMl9+Xkjw21iRKzN1vdD4EQnV8uRllS3hwT66S4fmWUABZXF/7se9oPsy2q38wvheFl2LjueTszPdXjJxOQpMxk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1703885607; h=Content-Transfer-Encoding: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:Cc; bh=l/g/xbbVARm94nOrfgxhdYMz88vGBMTmt5c/f0fX3lI=; b=T7Hx97TLtmhq0gQQRIjTWT1PDFz4gAvJ7jNjTYpo6yg/XHLSi8xGC2OlSUANLdamOOklyapj39KWBP2qFwb2iWM6NBQHRrwURKi/p2u4GzwR84JRyk98Lg1PW6h30cUzC6Q/Ya4+COOaZX3wXNtHnBhLhEWkhfj93Yh6KPbJwZ4= 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 1703885607706776.9876408545377; Fri, 29 Dec 2023 13:33:27 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rJKMK-0001ar-Te; Fri, 29 Dec 2023 16:25:37 -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 1rJKM2-00019r-1o for qemu-devel@nongnu.org; Fri, 29 Dec 2023 16:25:18 -0500 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rJKM0-0007pD-FF for qemu-devel@nongnu.org; Fri, 29 Dec 2023 16:25:17 -0500 Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-6da16ec9be4so1554680b3a.1 for ; Fri, 29 Dec 2023 13:25:16 -0800 (PST) Received: from stoup.lan (203-217-28-32.perm.iinet.net.au. [203.217.28.32]) by smtp.gmail.com with ESMTPSA id a34-20020a631a22000000b005c65e82a0cbsm15016237pga.17.2023.12.29.13.25.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 13:25:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703885115; x=1704489915; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=l/g/xbbVARm94nOrfgxhdYMz88vGBMTmt5c/f0fX3lI=; b=hTyjRbMTHtOC0nD9vIItkb9Mf2NUnV+VsfDkU+YxX8m2LQBZlzMVuCdFljI7xxgs0p RrsmBec/OGuVkG99E4FscoPjAquODmVYvSs00bfubelSTKK6bYk9ADisMDRXOtEA0/uJ Cx5Xwfywf6MNgeT+Up2Ua+yCksh2CHeMrYF1SkU/QcVPcXl4B8MM2Sl65EFR1Xou3pQW 52TzNPlKWNbEJ0YuECqm4cGqMCQAQb3HHNuhC84KG3hMINwNwpquPe+sBaqRA9Sdi34s 8NbbFMRSTLsR8TlYW5LggbWyMubP3hGyJDaOK5sV4Kb4uFKP3BpPTrXhKQfwIk0ChdbW qofQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703885115; x=1704489915; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=l/g/xbbVARm94nOrfgxhdYMz88vGBMTmt5c/f0fX3lI=; b=eijyahXEP1QpNdrLLXXgxDTV85p6gy2dnpXdNkoyNWAZsxvm6EwPeI0Tm/VkgTr/IJ mLubsAzNT7oM7XYMTXmL9QvTS+e/M91O73BUdDIw9vDBjyyGmEdbfOFfilTkxVuO/USe w6YtFi1+UwM18AcNLgR6Pft9t7DXHjyd+2KBQq9SraYxbRcU91t+C2C6/AdSFDC+yP6d aDq4v1vo9GMVd1cACcKpv+12mns5QF3Y+ZmkGLwf4Rah+pCn+A0gNuVOVcZjMmPVyfL7 Sf0Ru/zpMsrmrzB4mVYFGszHhdOvgOStRqeVIsdJBkT72obGTx2/EUo8OVraMZsaZAjP +OMQ== X-Gm-Message-State: AOJu0YyUAsxhZKZ2W9YmAtACcJNlYC8vr1wa+VP/mRJkR4jzaqK0Phw/ IVjcx2zQ4QMFjzvRJyaeqUqBn0v2c/1t60fixAaM+rBVPfbUxw== X-Google-Smtp-Source: AGHT+IFZ0CyZgg17Ky2jAlRA1MPg0hwniGqLIwprjQ37X9goWaJHJzJl7uVGmi65/eRHDWImgpTtOQ== X-Received: by 2002:aa7:8c42:0:b0:6d9:ac6f:20b4 with SMTP id e2-20020aa78c42000000b006d9ac6f20b4mr8950106pfd.42.1703885115090; Fri, 29 Dec 2023 13:25:15 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 35/71] hw/ipack: Constify VMState Date: Sat, 30 Dec 2023 08:23:10 +1100 Message-Id: <20231229212346.147149-36-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231229212346.147149-1-richard.henderson@linaro.org> References: <20231229212346.147149-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::42e; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42e.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: 1703885609357100005 Content-Type: text/plain; charset="utf-8" Signed-off-by: Richard Henderson Message-Id: <20231221031652.119827-36-richard.henderson@linaro.org> --- 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