From nobody Wed Nov 27 11:46:43 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=1699268675; cv=none; d=zohomail.com; s=zohoarc; b=M2DgTV/pawl59D3jT6EIjNdmWlPWPKuft1lpYVWonkZg9rlLtMYcTZooLB3ov+51zv7ZTjxMSFnkSvxxA5g1kQcxDOdWDEmbExUfKK857YDDEmfSnRJJQGHkvqyPAJpzzbiyj/rFOsHnVa0W1l+OrJo2mIQqTHU9YFPqrugKYxc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1699268675; h=Content-Type: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=d9nIh4jZ3rUpsBw4LSZSNiaZI1TuJJRNoEVBCo+5kN8=; b=U7ec5uT7IGIUNnaKJ1G5OhqpHbCFGFvaGrtYuTCKUTCCpKatPaYWDSlL7gGrwK4Tbi9nEgiFp6Fj/ThaM7GYgbUF4tgUXJ5KygORCh5+rihRsaLXsA8qCxLQm06i7zco4DLptDzJt44bHmSDsbig96xkkH8B9Q70Wi4tKWrZbMU= 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 1699268675084132.13032652843697; Mon, 6 Nov 2023 03:04:35 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qzxOi-0005xr-6L; Mon, 06 Nov 2023 06:04:00 -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 1qzxOf-0005t7-Tj for qemu-devel@nongnu.org; Mon, 06 Nov 2023 06:03:57 -0500 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qzxOd-0003ef-6Y for qemu-devel@nongnu.org; Mon, 06 Nov 2023 06:03:57 -0500 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-507f1c29f25so5576573e87.1 for ; Mon, 06 Nov 2023 03:03:54 -0800 (PST) Received: from m1x-phil.lan (176-131-220-199.abo.bbox.fr. [176.131.220.199]) by smtp.gmail.com with ESMTPSA id p12-20020adfce0c000000b0032dc1fc84f2sm9188671wrn.46.2023.11.06.03.03.51 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 06 Nov 2023 03:03:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699268633; x=1699873433; 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=d9nIh4jZ3rUpsBw4LSZSNiaZI1TuJJRNoEVBCo+5kN8=; b=EZIH/H0s97wWfUIPaXzcEEcqaaarDAJnoo8Gmvjoh4RpMpoL/YsHjrB0FprkKHYsxo uvcRgZ3prKQfXDsgFP6FOZ2UbCYtEc1k7XDlTVWW4X5FklABIMVb/oxLCJ9PsJcqrq5o Y+Wf5+4/QU/p7HXwdt9nmb3rL+q6mEkUNgtKtWXLiKVXCNo4QmV0UZG7dp7T5kbzJwzO z43nCYy7pgl9ss7FlhThUVeDW4IQOJVenHG28F72E886aNqOujy+wZCMTkjLpbp6Nd6Z auUeMhVAK4h14BrCY1Opnz+MQEH2xd6igDmeMGvUa4oJy07jbYIlxcQgjLm3L/xyY4uQ Ul+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699268633; x=1699873433; 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=d9nIh4jZ3rUpsBw4LSZSNiaZI1TuJJRNoEVBCo+5kN8=; b=g+E/o798t/hn4ER/q55lmk7LLtu4phKW87AmTvgQ3XRHoMxVakECqAlvTMf/6/YYzc TVmJqQIeuUY84nMgDj9jSFcO4z1ElgRbEnzwmNBUXWsjcPAkcwcR7AsuzGUCeGlgDH5F f2hfi8HOfHfcCtRJOOKxfco7BYEOJo27R/b9vv8FseElWqpu2ZCo9TOJ6K82JivkV26A o9ANtYBXyaZx/NPA9A8O5xBQX9C7i6R3mRBlyhKHF9Sriz6rPc/UHctPE41XTrGJSp97 1Mq+Ug0DDTgi6Me5vB8PYJLqeSavpnxYiBlG3r+sUeUE8o3w4A1ZxwEGREQrGmz/+L6C Fj9Q== X-Gm-Message-State: AOJu0Yz/RvqMCHrpdbQYJGEfqBPsCIK+YsP3uvFZUH4rrvfkvcBaepCP hDwW+Jzm+Vm85xeM0tPCJ9p1/b2DxrHWyyAzPd0= X-Google-Smtp-Source: AGHT+IExKZ0rki8Pzt9Fq9bSXa3p5OpCW6d2acd5GD6zgVvNcXpLdpP4uLK9kjEGGioQ4HTvFd820g== X-Received: by 2002:ac2:51b0:0:b0:500:b7ed:105a with SMTP id f16-20020ac251b0000000b00500b7ed105amr19847445lfk.29.1699268633369; Mon, 06 Nov 2023 03:03:53 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: kvm@vger.kernel.org, qemu-s390x@nongnu.org, qemu-block@nongnu.org, qemu-riscv@nongnu.org, qemu-ppc@nongnu.org, qemu-arm@nongnu.org, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Paolo Bonzini Subject: [PULL 02/60] vl: constify default_list Date: Mon, 6 Nov 2023 12:02:34 +0100 Message-ID: <20231106110336.358-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231106110336.358-1-philmd@linaro.org> References: <20231106110336.358-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=2a00:1450:4864:20::135; envelope-from=philmd@linaro.org; helo=mail-lf1-x135.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=unavailable 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: 1699268676592100001 From: Marc-Andr=C3=A9 Lureau It's not modified, let's make it const. Signed-off-by: Marc-Andr=C3=A9 Lureau Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-ID: <20231030101529.105266-1-marcandre.lureau@redhat.com> Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- system/vl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/vl.c b/system/vl.c index ff76eb0d07..8c803228f4 100644 --- a/system/vl.c +++ b/system/vl.c @@ -194,7 +194,7 @@ static int default_sdcard =3D 1; static int default_vga =3D 1; static int default_net =3D 1; =20 -static struct { +static const struct { const char *driver; int *flag; } default_list[] =3D { --=20 2.41.0