Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp663838rwl; Sat, 25 Mar 2023 08:46:23 -0700 (PDT) X-Google-Smtp-Source: AK7set//tQq5Rx57a996uJH3rBoyegfBD/UZaCGp4ggstAMQAqxPCJSxT3/JjGuRMz0+rwsVNjZ3 X-Received: by 2002:a05:6a20:9e:b0:da:35d1:c46f with SMTP id 30-20020a056a20009e00b000da35d1c46fmr6168762pzg.43.1679759183393; Sat, 25 Mar 2023 08:46:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679759183; cv=none; d=google.com; s=arc-20160816; b=NLEJTSl3O5YLPRfKtXVCs9zda8+Hte38x9hZM+yPuf1GZjJ4BuDiZXS+kXAV9Osc9+ btEGewmAsr/xpEjCZZLhzMIu8or9ADr0K2RCIxYhrfgul3PjBC2698Ha6CvG9+H3W71y LFf9G2zm1Xa0V+gjFGiPPvGLEoq7s0OH7KG/e+QkCHO8phxdKbyJNzb1B8rQyHj87x8K juA3qRWpxUp8mU4dQ6TshW6t0kADBnMfZ7NnpI+lNhwcqM/k8OjNNuIsMhZ79VcHPCtX A/C+L3lNUpyc0CDApPhWVGzs6xvckYtKOeKeT4RP2gN4FA0/3dfrDj2H5q5lVSR1H+lx IPqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Hdx09KHZ/xnMh5lDRAmCYDcp0yPtbvssD6I5L9X1SWU=; b=oEew3Zzd8UEhzR+9+lYN8IzIo1zKkpcPQTv64nMcJnRl3IBr3Um9OcKMqK8nhDII1Y K9QN8xwF8gyEaGtSetIlG5QHcC8ofXl62iuP1VzlyWJFsSvpF9BQoun2ERZsZe5j6gz+ 0JKEnGcDj3P+4NcHRP0fZkvTo7QcBm/zTuBIfirSYvTttndpFYCnz2CHO5R4IjPfNlY4 QVQ/Vb2HIVDNaT3nChHjX3M7dlg/ff1mWkN88bKM+k3HTimgVHXepiS2tZvlJm/sH6EO k+dmbthKrY0KN0XCos9THe/wJpVcDsf7S8+aSYrF9UNFIttwfdFhWlM+Rw8NNWUgIDZO nF9A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a21-20020a63e415000000b004fbba5bc71csi23748892pgi.75.2023.03.25.08.46.11; Sat, 25 Mar 2023 08:46:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231359AbjCYPpt (ORCPT + 99 others); Sat, 25 Mar 2023 11:45:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230038AbjCYPpm (ORCPT ); Sat, 25 Mar 2023 11:45:42 -0400 Received: from 1wt.eu (wtarreau.pck.nerim.net [62.212.114.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DA7FBEFBF for ; Sat, 25 Mar 2023 08:45:39 -0700 (PDT) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 32PFjQno008048; Sat, 25 Mar 2023 16:45:26 +0100 From: Willy Tarreau To: "Paul E. McKenney" Cc: linux@weissschuh.net, linux-kernel@vger.kernel.org, Willy Tarreau Subject: [PATCH 3/8] tools/nolibc: tests: constify test_names Date: Sat, 25 Mar 2023 16:45:11 +0100 Message-Id: <20230325154516.7995-4-w@1wt.eu> X-Mailer: git-send-email 2.17.5 In-Reply-To: <20230325154516.7995-1-w@1wt.eu> References: <20230325154516.7995-1-w@1wt.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Thomas Weißschuh Nothing ever modifies this structure. Signed-off-by: Thomas Weißschuh Signed-off-by: Willy Tarreau --- tools/testing/selftests/nolibc/nolibc-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/nolibc/nolibc-test.c b/tools/testing/selftests/nolibc/nolibc-test.c index 6a7c13f0cd61..fb2d4872fac9 100644 --- a/tools/testing/selftests/nolibc/nolibc-test.c +++ b/tools/testing/selftests/nolibc/nolibc-test.c @@ -717,7 +717,7 @@ int prepare(void) } /* This is the definition of known test names, with their functions */ -static struct test test_names[] = { +static const struct test test_names[] = { /* add new tests here */ { .name = "syscall", .func = run_syscall }, { .name = "stdlib", .func = run_stdlib }, -- 2.17.5