From patchwork Thu Dec 21 03:16:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 756967 Delivered-To: patch@linaro.org Received: by 2002:a5d:67c6:0:b0:336:6142:bf13 with SMTP id n6csp687755wrw; Wed, 20 Dec 2023 19:25:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IHJyzMKN6zuNZUb5fePpGq/nQAwmonv9Dj8LuChTK1QD7GOW4Z5NFBU0JJpkXPGXmVJ7DEL X-Received: by 2002:a05:6214:e8c:b0:67f:69f9:e4b7 with SMTP id hf12-20020a0562140e8c00b0067f69f9e4b7mr3295180qvb.96.1703129147020; Wed, 20 Dec 2023 19:25:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703129146; cv=none; d=google.com; s=arc-20160816; b=CLlc/gnPkbo6bchNbfxXjaHiWR0oITnhrywKprmkrnhlhASAWNBuWUj75KT0dd2Jge jFs5AX1CxVjoWImWqwFCG9fCmPsQX9VSFfHZZi2rmiUv64X7m90oH+THtoX0kfZOS8EB Q5mV8/+Xk2lNR0GRE9AKd6Lf5y5XbCOacLpx54+i7wzufO26s8KA8XsT1w7y1FzCBXLk 2SWbshke+FyQxuZw+rpxjaiRvy3PHlL2GeqgwAtl8WQTYlITIjDcLIffv3ODnMvy9ywl +0ob4Wwoc8r9qjlk17cJULDHKx5RwHiTm0Hyt5pPGY/Tqm4ureCVJ+7sY5V/PlGGpNv2 XWgA== 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=UrjceR6XG91OWiJuQTkzwn9UFRxtt0kJJUYasU0mE7s=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=v4QZNX47c0jplhMCDbAiDdjfBGrXRJrhDLrqSlJOZMcOJEvAMCzsh+PpYpvtC85ZGU /mTyFcNVzSbDVtYplr1pvVXzdmif0XH1pKQ4glk5N8fzQpITHxHvDborSvBGGeZq4gS3 MARk3spZPCGY0RfQzxSM5zdjfMcvc3oA800YbmhO06h7o9RRwVhxTwjfqFQ7h6H2XqE9 42qB7vhlAsvldKpsVOENA8X2ZR6utUIDAzNVj+KOlv2bxriUSd1AS6LtIV9BXGVV0aMn utqIvOcWOE/KpdH/mN5oyQoz+nPWMU5a9p8D/S3AE9noj0R1lSbYAjOGkPcD2weloQQG uTFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=w4QhR8vn; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id c28-20020a0ca9dc000000b0067f229f0b7bsi1118764qvb.406.2023.12.20.19.25.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Dec 2023 19:25:46 -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=w4QhR8vn; 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 ) id 1rG9fm-0002GI-T2; Wed, 20 Dec 2023 22:24:34 -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 1rG9fc-00021E-Th for qemu-devel@nongnu.org; Wed, 20 Dec 2023 22:24:26 -0500 Received: from mail-qv1-xf30.google.com ([2607:f8b0:4864:20::f30]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rG9fb-0000zX-J7 for qemu-devel@nongnu.org; Wed, 20 Dec 2023 22:24:24 -0500 Received: by mail-qv1-xf30.google.com with SMTP id 6a1803df08f44-67ef18444ecso1895786d6.0 for ; Wed, 20 Dec 2023 19:24:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703129063; x=1703733863; 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=UrjceR6XG91OWiJuQTkzwn9UFRxtt0kJJUYasU0mE7s=; b=w4QhR8vnWchKMD12EQdjW2r8yos4cgTfLbLHj7aLxRABbqCWMnrmBY0U/IiZYVexgc FIiCCkV1JXt1lTZgmEffKXKUyWV2gOVDUgCQrBEFlLoSn0HFLmLmlFH7WfFNdRGLhXGY vzn0u9c6DeJFsbJRC5i7A7Jk2+evJtb9eU20CsbKbHAKeGP4as+1n1gFg0WgCFYBFSzR FljPnlItL9+tAmLAUY0vD2VVXjht0pJmn5yM3YHcxeab2LEusqXEBThI+iL98kQaMkFo CbL8lR/S0FcicZwldHoQH2c3LCwOzjlyYGnUKDi//b5Kd9Co0dPi8egZb2f4m6HuZ8Oa iCrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703129063; x=1703733863; 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=UrjceR6XG91OWiJuQTkzwn9UFRxtt0kJJUYasU0mE7s=; b=CiO8k0ma+34AqKjhn7V6Yrm+oq+3XKHskbjEKP6ydHKerI+6kjMM7z02uk07mIMm7N YhA51M2hanxRLxTGG3GMTm4lxZ/KXq/vjP8b/38YZrhd25nb9TYqkV5QgBGG0RIavCKF NOxzZ45AQZVBL+gtYsZ6lcVUZVC/JwF2Qi7Q5E8pBWIAIx5cltfLhM4mKy68EReikNsU EPQ6aS4KpFaPk61HBye/DiM/wcsAUixqdbbbQm2ng9f11eUvYxBNJtvM7THqlhw8ZzLu 5kt5tlmJBaQpQLAfSvxWFvGaqMYkewhECAZmClLNblt+ptWxK1duGcOZPmmkfei003Vw ROMQ== X-Gm-Message-State: AOJu0YxQjrQqHU5xccovXB5B4OH1o2IopcAk3i07R2MXuOczqbuEpDVZ 5800W67RgdH0fjpNdsAdORiZrww+F+IyMpDQHXJiVFbA X-Received: by 2002:a05:6214:224a:b0:67f:89a:339b with SMTP id c10-20020a056214224a00b0067f089a339bmr16627713qvc.28.1703129062862; Wed, 20 Dec 2023 19:24:22 -0800 (PST) Received: from stoup.. ([172.58.139.164]) by smtp.gmail.com with ESMTPSA id l16-20020ad44d10000000b0067f7b6318b9sm347257qvl.10.2023.12.20.19.24.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 19:24:22 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 63/71] audio: Constify VMState Date: Thu, 21 Dec 2023 14:16:44 +1100 Message-Id: <20231221031652.119827-64-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 Received-SPF: pass client-ip=2607:f8b0:4864:20::f30; envelope-from=richard.henderson@linaro.org; helo=mail-qv1-xf30.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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Signed-off-by: Richard Henderson --- audio/audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/audio.c b/audio/audio.c index 8d1e4ad922..a1097bb016 100644 --- a/audio/audio.c +++ b/audio/audio.c @@ -1683,7 +1683,7 @@ static const VMStateDescription vmstate_audio = { .version_id = 1, .minimum_version_id = 1, .needed = vmstate_audio_needed, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_END_OF_LIST() } };