Message ID | 20231221031652.119827-44-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:67c6:0:b0:336:6142:bf13 with SMTP id n6csp687353wrw; Wed, 20 Dec 2023 19:24:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IF6N5XYSIpcR9lEeWFy16rZRcPXEjrfFVl5Kw5PLqB/Ud3w12AtbnqbsRa6DKZmL25s/Uj5 X-Received: by 2002:a05:620a:31a1:b0:774:1992:15c9 with SMTP id bi33-20020a05620a31a100b00774199215c9mr25987452qkb.42.1703129053325; Wed, 20 Dec 2023 19:24:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703129053; cv=none; d=google.com; s=arc-20160816; b=mr8PXuwKEJC/Do06Hjk202IrzafwR51s5Vu4UQCliqHtzLeFbHZMAXnj8CaaI8fFpK VikLkVSGxhDstL/0KJpuWSgi2O39iasUi2DZmYh3klfXvJot/fmMscBd/iFA6LzWAwJX Vy6QtNkSgqkBnUe8AiaWlpTJ9cLbjhIzAkKkrkZpz0TLBExtAF2N5ARwtHdTIUDSstig hnRf+KG3op2YEVUhY6XgmWu048nl+GkfQ0kVdcDCunAb6mNXxXBtchcffmdsQ2+MBjDh 5ekXW+x3ftBrUjM119HXJ+Nb9nWqw1DJMJm4srmhAlhXMcppfc6rWiFBa59hyqeGxzsu YmzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=b/6+wUvz6WQxJre4NGPMzqEP8t8qfLRBNDzheCSvrJw=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=nuyYS/9Q/V8pRCJHCXCYiCi+KyYUanyguegAG85CQn9y5QlpRWL55dur+WOwbQknoL 9/7cwicGyVZ4//tV3apk83o6iOPLCxjrB3snJrajNwzb4YH2gW+sPBMQQzDOyKdY1Of2 H1EmoxB/n8FzrpxXemVD3QiUMOFaPOjvqwHGPAhj1DpyrQDFeDh9BsPaVFJnZcKOwKoN O0xVlHxoGoB+E9ZCaWWepDCPxw1iyJxHnXIniq9i6dUAgRQZdLyBcc6LH9Al9jPKPiQH Qq2FDozf8ZbmC/bc4zr0jacJXnud5TnB7TinTqACuMfFy6+FiI/otn0Fn5aFMM952Bav ZQbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jeuvu6gR; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id bn36-20020a05620a2ae400b007811c010aadsi1008976qkb.663.2023.12.20.19.24.13 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Dec 2023 19:24:13 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jeuvu6gR; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1rG9eP-0006lY-KG; Wed, 20 Dec 2023 22:23:09 -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 <richard.henderson@linaro.org>) id 1rG9eN-0006cf-67 for qemu-devel@nongnu.org; Wed, 20 Dec 2023 22:23:07 -0500 Received: from mail-qv1-xf35.google.com ([2607:f8b0:4864:20::f35]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1rG9eL-0006kY-E0 for qemu-devel@nongnu.org; Wed, 20 Dec 2023 22:23:06 -0500 Received: by mail-qv1-xf35.google.com with SMTP id 6a1803df08f44-67ee17ab697so1995916d6.0 for <qemu-devel@nongnu.org>; Wed, 20 Dec 2023 19:23:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703128984; x=1703733784; 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=b/6+wUvz6WQxJre4NGPMzqEP8t8qfLRBNDzheCSvrJw=; b=jeuvu6gRjAe6SuDFLHnZx2eUmVCEUq0v9UuA8eYUhHCdzinoepPSIs5ZyGxjHYFn4Q UGwpZCkD2mM+ev0PDju72QanBf21y3Z5SClw/HMsL+DbBMjbiKmh1Q82IzDbViLsk7Z6 t0bjDS2FlzWhgSmVxOpr/JFDnqxbqyGfDaYFpgqfVGrec7/wM7Bz0GVDQUPeFltKSy6C YkDTvc/OU3m+Eesv6c0IctlQkpHiwKcfCgvbPnCBf1dNEefmCl3U9KyJUuEMcLarWDNr ibSinGmsuRD78aPassCw3JWt2rzLnQshGgf6ubDDAC/+55KeafGek8d8hp5fD6SSG7Nu +51g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703128984; x=1703733784; 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=b/6+wUvz6WQxJre4NGPMzqEP8t8qfLRBNDzheCSvrJw=; b=TH1lJOif0BUiaoLM/oWeg+3vMSFJj9wqhrIDUlOdDfG0Wufy6IthyD0cDdT76mE4pF /mcWg3WGS2/7ze21b7BdGbykC9Rt9CbJ0GZAmPMwjVJSk5iAampzUJuTeArDMWuKmXjO k1W7mFYnActPXtqXeIaOXpcxSzOHc/RLnEjbjHDigq8lgqFQh6iVqLE2rXFPnfeQbkI+ UnHSOAtiifTRAnV12feIntNRhrII1F0I2JcCE7Ck2/wSrOwO5/mp+nZ3rXrr2UvCCewI X8VtraGYIFQU15ymMSl0IdGn8BzvFcMLcNKG9HP/RZrCGAAuyYeKy5iYnLBiLbWBY4Kt epiA== X-Gm-Message-State: AOJu0YwhBSTA3cGtAvVoLOvxW71pFtMrlV+q0+a42OQN0wylrhgUwNFv 61e9Hz2o7tR3x8C6BLQCYAL9d2zDRdPn+pfgyMifHZlz X-Received: by 2002:a05:6214:f24:b0:67f:3cb8:88bf with SMTP id iw4-20020a0562140f2400b0067f3cb888bfmr9797554qvb.62.1703128984422; Wed, 20 Dec 2023 19:23:04 -0800 (PST) Received: from stoup.. ([172.58.139.164]) by smtp.gmail.com with ESMTPSA id l16-20020ad44d10000000b0067f7b6318b9sm347257qvl.10.2023.12.20.19.23.01 for <qemu-devel@nongnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 19:23:04 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH v2 43/71] hw/openrisc: Constify VMState Date: Thu, 21 Dec 2023 14:16:24 +1100 Message-Id: <20231221031652.119827-44-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231221031652.119827-1-richard.henderson@linaro.org> References: <20231221031652.119827-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::f35; envelope-from=richard.henderson@linaro.org; helo=mail-qv1-xf35.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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
*: Constify VMState
|
expand
|
diff --git a/hw/openrisc/cputimer.c b/hw/openrisc/cputimer.c index 10163b391b..835986c4db 100644 --- a/hw/openrisc/cputimer.c +++ b/hw/openrisc/cputimer.c @@ -145,7 +145,7 @@ static const VMStateDescription vmstate_or1k_timer = { .name = "or1k_timer", .version_id = 1, .minimum_version_id = 1, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_UINT32(ttcr, OR1KTimerState), VMSTATE_UINT64(last_clk, OR1KTimerState), VMSTATE_END_OF_LIST()
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- hw/openrisc/cputimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)