From patchwork Thu Jan 19 14:58:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 644085 Delivered-To: patch@linaro.org Received: by 2002:a17:522:b9de:b0:4b9:b062:db3b with SMTP id fj30csp256814pvb; Thu, 19 Jan 2023 06:59:42 -0800 (PST) X-Google-Smtp-Source: AMrXdXsBgj35s8j6cOMVtduZbsxU1hKnW36hleqeNqG6PcYMOWTafj8l81wJwilZOjIwPJDoE1a1 X-Received: by 2002:a05:622a:40c4:b0:3b6:94a3:b0e7 with SMTP id ch4-20020a05622a40c400b003b694a3b0e7mr1261819qtb.34.1674140382796; Thu, 19 Jan 2023 06:59:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674140382; cv=none; d=google.com; s=arc-20160816; b=wBUK/EWfu1gayQ7GtJm7ZTPcGZ3XqMrgz4APO/4V4PRiCC3QlGQ2RZSaG7x/CZDosL bYYpG90q2DFlBUIsxkAnakj0zA565bHnbnRgdGUY/WK92Zwjp71xLaCzCngShPy9FJqq tvtXUeeXNPgfRrylkB3opreYPNPBxDLsOj20jns5CAYuYbf4LbCZLfB8VJfDG6DDUh4n irZkHgkkgpJIaKRGcmjp9qwANroKIEQqPaaHeleRKTum/idZhj5OdXIepwtJQrs21uKk i6sntkavAa8wlbR0CIgWU8w87fER4zF5IfCxbrcV16zfCLS3SjY2ufvpHKUweZurEySY 3FpQ== 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:cc:to :from:dkim-signature; bh=lp7QBocGltbT5Ch7Xv6lzQ/CjEgDd3cHtWRpI2qpHEo=; b=L1GDRKhmOXnj5mJzTxONb4sEVkYWofPNESVDkvEWr5oZvf6HsXcGSdTIiSKuetXlyz KUHDz5NHysecCeEBS2vHaJuSHuANhndauUVl26HgE06KkDvXK2qwlYP4gJG48Nmd8RWx p9gCjkdBTy+kGn97pAgjXVeILFLzeBEfXlT0+E6DQcGOegPvLbJR0qWTxB1NGyX3hPpW tqfn/aLisa6PaE/47QBRrhOcgWkIUNZe6jbjKFjBpXi6s9SvwMwA2n737E4N1hMElefA 4rqXqjbXU6SqRasRIaeftNxf5kvijzMGtWXdB/EhFX8RzkSOFQ09zR0x9dzQJw8Z7TNR 8mDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Yw0+mx5L; 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 bn9-20020a05622a1dc900b003a81551fa60si22878619qtb.181.2023.01.19.06.59.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Jan 2023 06:59:42 -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=Yw0+mx5L; 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 1pIWNO-00062R-75; Thu, 19 Jan 2023 09:58:50 -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 1pIWNN-00061w-7g for qemu-devel@nongnu.org; Thu, 19 Jan 2023 09:58:49 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pIWNK-0003XB-PB for qemu-devel@nongnu.org; Thu, 19 Jan 2023 09:58:48 -0500 Received: by mail-wr1-x435.google.com with SMTP id b7so2144137wrt.3 for ; Thu, 19 Jan 2023 06:58:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=lp7QBocGltbT5Ch7Xv6lzQ/CjEgDd3cHtWRpI2qpHEo=; b=Yw0+mx5LwzWzLqJ65ihZ/F0XociSAqdvsH9CUtFT8zxSAZwHDKKtQPZvOkIT71MloN mi3AcikjmPT4Ir59uwycmOBYAjNJbU2OjAn08tOjgbDFWPdBKzi/R9SKheCOYNrYzQ0z 48viT7/et5oIehZUboxHDeK/nDV/OpXDGrNeE3GjFGRjWvl4CDbNdlnOuWCDWoDwcLOQ QsoEOpIXeWjjMYb0TSHZdhQ1+9SYhhyU/TpkkM8E2ZLtuocus3HaOnKlxKpR/T0L4ci8 sQJExcmh6obfAlITQNo87MGz5C5EriP24LjeCQJbK5XD1L60hoABtRa7hPiGf4Mo1D8a cy4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=lp7QBocGltbT5Ch7Xv6lzQ/CjEgDd3cHtWRpI2qpHEo=; b=lk89xQT+CWajy8OCdbrIIqCvkuwdJzalC8rvZq2y5j7pKVxV8SyZ/J6yvCjFiyyvWl IpT8220ExVSN50kVVlYgx0aO9D+d0Qa6z2iVRZfwgdivW5hQxQJIB33zUrRCOCABtFXm Q6IFLhA9YsWTh5E3O/f1jK10ki6wu1RHtBtq7VuSwdEVrY0bTXKv288mYaW5R0u0ojwb T7g/NkWmbongh0j6Q63PNGM2nREVmTficGHVemQh6NhGKbYajjCvbEUv3tK6YdTdRmU0 qWHdOMwJlva9hXO/2PWJ9AlWCvLlud/ClBxDuvSO2duFUmMb8DMpq0+fz3Eo8q36aNHo rv3A== X-Gm-Message-State: AFqh2kpwEnHyMim4/ryT+8pvFocciDiR7wTMAvernR2ve3h8ZkcQq9fC IjofFt+QEHoMVxaRaQx+HMjF3QMk+9A30Nxe X-Received: by 2002:adf:f642:0:b0:2bc:846a:8ea2 with SMTP id x2-20020adff642000000b002bc846a8ea2mr10492523wrp.4.1674140325209; Thu, 19 Jan 2023 06:58:45 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id u18-20020adff892000000b002bded7da2b8sm14136235wrp.102.2023.01.19.06.58.44 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 19 Jan 2023 06:58:44 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Juan Quintela , Laurent Vivier , Paolo Bonzini , "Dr. David Alan Gilbert" , qemu-arm@nongnu.org, Fabiano Rosas , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v2 01/11] tests/qtest/boot-serial-test: Constify tests[] array Date: Thu, 19 Jan 2023 15:58:28 +0100 Message-Id: <20230119145838.41835-2-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230119145838.41835-1-philmd@linaro.org> References: <20230119145838.41835-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=philmd@linaro.org; helo=mail-wr1-x435.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 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- tests/qtest/boot-serial-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qtest/boot-serial-test.c b/tests/qtest/boot-serial-test.c index b216519b62..3aef3a97a9 100644 --- a/tests/qtest/boot-serial-test.c +++ b/tests/qtest/boot-serial-test.c @@ -139,7 +139,7 @@ typedef struct testdef { const uint8_t *bios; /* Set in case we use our own mini bios */ } testdef_t; -static testdef_t tests[] = { +static const testdef_t tests[] = { { "alpha", "clipper", "", "PCI:" }, { "avr", "arduino-duemilanove", "", "T", sizeof(bios_avr), NULL, bios_avr }, { "avr", "arduino-mega-2560-v3", "", "T", sizeof(bios_avr), NULL, bios_avr},