Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp47764lqp; Tue, 21 May 2024 18:01:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX3r5c+cPUroMZhDy/sxZuLA/ni8G/9Qoce7zRdIhGdOkNzigbaNADObTjJKhLV2wjqR9I89rHJo58B8P7yr0ayfDerksbx1pPIOd2iog== X-Google-Smtp-Source: AGHT+IGk3MqSs+PFNDfDIRZ7vvUrJI8IBF0kEFxyB35c/FKCLwL3kjSyGO32Uvf4CK94QXg+lIR4 X-Received: by 2002:a2e:8e8c:0:b0:2e1:aa94:cf48 with SMTP id 38308e7fff4ca-2e9495a87famr1914261fa.20.1716339661086; Tue, 21 May 2024 18:01:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716339661; cv=pass; d=google.com; s=arc-20160816; b=ndzdA9ksU2SSn8cNZu5jyvUrFMsQ00icLGCikOr+4wqLlCvUckMACDwiItcyCLMqtB Tg6Iwt2JtYWWZRRvXwKFVD6j/bx7Bj1RIJevLfPhowkQFi/BMrC0GXT95ZMawT/6VYrx XN3lWinGzL4Lu/8UW81cwdEsi91Cjjfr3JroXSRH6EB52V5xTUnHRnRZOXh5+dAERd3i Q0uzokNRPRrhCTGDxXrwLLj+VReU5xoXaUdeKcPGcKim+DwvhnTWNf8Jta40UoirJhrU rzlWi9jgvdhT7Fi9D1Z8pCz+yhe0VJlIrUA/fBNQX9vb9Jd7TzHpbPEk2Uag1JURX6nX +uQQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to:date :dkim-signature; bh=Vcoll/IdpSwzui0X6UWqq2ULt+x6/Cax/vsNd7eRYao=; fh=38jWoMZo4TCTXUwJsRFMf8iK6sPiQxAQR27yYy+K2iY=; b=LzyB5XK4qhp3ZBaMTii8iN9YjwMfqovJIs0zgxFxVU+XepyR4jBa0cxaz7LvNed7nA eI1HWIp6IMnhKRIfT2AQEE7/LmfljBOZ8790M0OeUZuhiZ2YANjQoT7rOqQj1RvKCNI/ IFiGiUAdaOaZuzdQHtWU5J4dI9KAkbtADdvaOiLHpcUn7/slwia2nJjEDPQr7kcYoBw8 vZ493Q1rT+GopQgU/Ld/IFS9QdEdNQZVbZT70vOMt2ZoPisNOOANi+0/p9zXTPHLbs4u 5zkHIVSezpYCLBFXH9iBI6ha0NnIBNxwqIC8h5FTAxiKd8CdI8V7DtUMF12Y8gRcmSXu wOEA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=P6gnPfDa; arc=pass (i=1 spf=pass spfdomain=flex--edliaw.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-185578-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185578-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c378600si15367729a12.638.2024.05.21.18.01.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 18:01:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185578-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=P6gnPfDa; arc=pass (i=1 spf=pass spfdomain=flex--edliaw.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-185578-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185578-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7B04E1F264D8 for ; Wed, 22 May 2024 01:01:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BB3BF208CB; Wed, 22 May 2024 00:59:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="P6gnPfDa" Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D477B1CD3C for ; Wed, 22 May 2024 00:59:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339577; cv=none; b=gSVNjGyWCQ2XNoCinzcUOxNUQsCraRBMqROjduqwX0JnSR4gLrKY+TnF4ce0PgKKcsTj851oRxNYInK54kBnegr9m1snWu4XYCiFJ962FBsDyT7qs0QW46aADHkMXRXn8I+oRytA6rVzddwee8CE8ariMGFHmKGRyYrGxwpmPjs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339577; c=relaxed/simple; bh=WP2CMjrXBzE9uxgamnWuNf9ebddICocRD6dNoN0sUYc=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=VCvuOLJaFvInopXDOXZ0Kapxv2aFIlfbJOEZDu6vljDIj3asye2u9GRV5fC81idYA1TZn0adTpos7WReTGnaxMAPVPWSxvHynyQNulxn0lapxWE94xGF247pUWBOQepAVGhfcmivLQaoKAOTNR/aZVacyrAN+A0T2pIxjcoFrRk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--edliaw.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=P6gnPfDa; arc=none smtp.client-ip=209.85.128.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--edliaw.bounces.google.com Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-6256bc244b7so5001357b3.1 for ; Tue, 21 May 2024 17:59:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339575; x=1716944375; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=Vcoll/IdpSwzui0X6UWqq2ULt+x6/Cax/vsNd7eRYao=; b=P6gnPfDaNA7ab9+Mi1zk6E2tTFecQOwX5vr0RxpFquArYfU1TYXr/89OgoprHGG/By IrpVkBEk/UQsTaYDjbaSqddHq2TnGdxKANTOqc1fVWhz+CnjEIP/PI98QxHsxlY+ttdD TaEtHQerZIQZcVMjH5myNjEC62VDaXumRiseCOJUSVmyUg3W6LzZ7vGgd3N7aHSKMEy6 TmSld0XmG1O72vbzQA0jMeSnC4vb17C6VSdWeamca1WZnlp6Bqc5qb6D/26fK7WhgRT3 kklK9pf4mLG+0CWn3CC08K5xJduoIl01bDZvAVnRRotZWAb2v/7qK9e9jBLgNleN+rkR gJFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339575; x=1716944375; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Vcoll/IdpSwzui0X6UWqq2ULt+x6/Cax/vsNd7eRYao=; b=eoqXoLWikoI3fJx+wFsYeGWG2ZgKwTGi5Iibbq1XlKfTo2S+uReWnAbId1GwZqwa3D VIRSkANEenUeGAMVgbUbYf2QFEefHax/BvT2H0DufFRgS5Luq+lb+LlWrH7esg3Wgk92 ezAbfjCM1/5yhFXPM9pJeLq7NS1cPqLjJppknLQHZmgkYwn50jZBcWCrpqyjB0wUt7Yt /PCX/WKBqVA+lR5tppnAuyGfOLY6fj3cFHMpuKA3y5SxqNa0rrO53LVMaHrpPJeF5uBX m/z5DlLODe22HokEPv8dE+RvrSiAQ65FZ+xdpqvkH94rQGya6sQqCaRZlZJZQVQf5RK+ fcWw== X-Gm-Message-State: AOJu0Yx8KtljtV7RXqH+rDVSvuITU2e8w31g8EJ+5VL8tTqeJuOwJMPo BdxmMmDpx5ku7r5BIfwymQ8oBm9t7k+dul1LfZoeiuT3y6SxjWh9wb7GdaOLVFNFJ6LffUurwMF 9Kg== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a0d:cc49:0:b0:618:9348:6b92 with SMTP id 00721157ae682-627970a0d4dmr27313297b3.1.1716339574994; Tue, 21 May 2024 17:59:34 -0700 (PDT) Date: Wed, 22 May 2024 00:56:49 +0000 In-Reply-To: <20240522005913.3540131-1-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240522005913.3540131-1-edliaw@google.com> X-Mailer: git-send-email 2.45.1.288.g0e0cd299f1-goog Message-ID: <20240522005913.3540131-4-edliaw@google.com> Subject: [PATCH v5 03/68] selftests/arm64: Drop define _GNU_SOURCE From: Edward Liaw To: shuah@kernel.org, "=?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?=" , "=?UTF-8?q?G=C3=BCnther=20Noack?=" , Christian Brauner , Richard Cochran , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexei Starovoitov , Daniel Borkmann , "David S. Miller" , Jakub Kicinski , Jesper Dangaard Brouer , John Fastabend , Catalin Marinas , Will Deacon Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@android.com, Edward Liaw , linux-security-module@vger.kernel.org, netdev@vger.kernel.org, linux-riscv@lists.infradead.org, bpf@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Signed-off-by: Edward Liaw --- tools/testing/selftests/arm64/fp/fp-ptrace.c | 3 --- tools/testing/selftests/arm64/fp/fp-stress.c | 2 -- tools/testing/selftests/arm64/fp/vlset.c | 1 - tools/testing/selftests/arm64/mte/check_buffer_fill.c | 3 --- tools/testing/selftests/arm64/mte/check_child_memory.c | 3 --- tools/testing/selftests/arm64/mte/check_gcr_el1_cswitch.c | 3 --- tools/testing/selftests/arm64/mte/check_ksm_options.c | 3 --- tools/testing/selftests/arm64/mte/check_mmap_options.c | 3 --- tools/testing/selftests/arm64/mte/check_tags_inclusion.c | 3 --- tools/testing/selftests/arm64/mte/check_user_mem.c | 3 --- tools/testing/selftests/arm64/pauth/pac.c | 3 --- 11 files changed, 30 deletions(-) diff --git a/tools/testing/selftests/arm64/fp/fp-ptrace.c b/tools/testing/selftests/arm64/fp/fp-ptrace.c index c7ceafe5f471..eb1f14047361 100644 --- a/tools/testing/selftests/arm64/fp/fp-ptrace.c +++ b/tools/testing/selftests/arm64/fp/fp-ptrace.c @@ -3,9 +3,6 @@ * Copyright (C) 2023 ARM Limited. * Original author: Mark Brown */ - -#define _GNU_SOURCE - #include #include #include diff --git a/tools/testing/selftests/arm64/fp/fp-stress.c b/tools/testing/selftests/arm64/fp/fp-stress.c index dd31647b00a2..042f736970c2 100644 --- a/tools/testing/selftests/arm64/fp/fp-stress.c +++ b/tools/testing/selftests/arm64/fp/fp-stress.c @@ -2,8 +2,6 @@ /* * Copyright (C) 2022 ARM Limited. */ - -#define _GNU_SOURCE #define _POSIX_C_SOURCE 199309L #include diff --git a/tools/testing/selftests/arm64/fp/vlset.c b/tools/testing/selftests/arm64/fp/vlset.c index 76912a581a95..e572c0483c3a 100644 --- a/tools/testing/selftests/arm64/fp/vlset.c +++ b/tools/testing/selftests/arm64/fp/vlset.c @@ -3,7 +3,6 @@ * Copyright (C) 2015-2019 ARM Limited. * Original author: Dave Martin */ -#define _GNU_SOURCE #include #include #include diff --git a/tools/testing/selftests/arm64/mte/check_buffer_fill.c b/tools/testing/selftests/arm64/mte/check_buffer_fill.c index 1dbbbd47dd50..c0d91f0c7a4d 100644 --- a/tools/testing/selftests/arm64/mte/check_buffer_fill.c +++ b/tools/testing/selftests/arm64/mte/check_buffer_fill.c @@ -1,8 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 // Copyright (C) 2020 ARM Limited - -#define _GNU_SOURCE - #include #include #include diff --git a/tools/testing/selftests/arm64/mte/check_child_memory.c b/tools/testing/selftests/arm64/mte/check_child_memory.c index 7597fc632cad..ef69abc7c82d 100644 --- a/tools/testing/selftests/arm64/mte/check_child_memory.c +++ b/tools/testing/selftests/arm64/mte/check_child_memory.c @@ -1,8 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 // Copyright (C) 2020 ARM Limited - -#define _GNU_SOURCE - #include #include #include diff --git a/tools/testing/selftests/arm64/mte/check_gcr_el1_cswitch.c b/tools/testing/selftests/arm64/mte/check_gcr_el1_cswitch.c index 325bca0de0f6..aaa5519c6bbd 100644 --- a/tools/testing/selftests/arm64/mte/check_gcr_el1_cswitch.c +++ b/tools/testing/selftests/arm64/mte/check_gcr_el1_cswitch.c @@ -1,8 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 // Copyright (C) 2020 ARM Limited - -#define _GNU_SOURCE - #include #include #include diff --git a/tools/testing/selftests/arm64/mte/check_ksm_options.c b/tools/testing/selftests/arm64/mte/check_ksm_options.c index 88c74bc46d4f..76357f914125 100644 --- a/tools/testing/selftests/arm64/mte/check_ksm_options.c +++ b/tools/testing/selftests/arm64/mte/check_ksm_options.c @@ -1,8 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 // Copyright (C) 2020 ARM Limited - -#define _GNU_SOURCE - #include #include #include diff --git a/tools/testing/selftests/arm64/mte/check_mmap_options.c b/tools/testing/selftests/arm64/mte/check_mmap_options.c index 17694caaff53..66bddc8fe385 100644 --- a/tools/testing/selftests/arm64/mte/check_mmap_options.c +++ b/tools/testing/selftests/arm64/mte/check_mmap_options.c @@ -1,8 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 // Copyright (C) 2020 ARM Limited - -#define _GNU_SOURCE - #include #include #include diff --git a/tools/testing/selftests/arm64/mte/check_tags_inclusion.c b/tools/testing/selftests/arm64/mte/check_tags_inclusion.c index 2b1425b92b69..e66d8b8d5bdc 100644 --- a/tools/testing/selftests/arm64/mte/check_tags_inclusion.c +++ b/tools/testing/selftests/arm64/mte/check_tags_inclusion.c @@ -1,8 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 // Copyright (C) 2020 ARM Limited - -#define _GNU_SOURCE - #include #include #include diff --git a/tools/testing/selftests/arm64/mte/check_user_mem.c b/tools/testing/selftests/arm64/mte/check_user_mem.c index f4ae5f87a3b7..220a8795d889 100644 --- a/tools/testing/selftests/arm64/mte/check_user_mem.c +++ b/tools/testing/selftests/arm64/mte/check_user_mem.c @@ -1,8 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 // Copyright (C) 2020 ARM Limited - -#define _GNU_SOURCE - #include #include #include diff --git a/tools/testing/selftests/arm64/pauth/pac.c b/tools/testing/selftests/arm64/pauth/pac.c index b743daa772f5..b5205c2fc652 100644 --- a/tools/testing/selftests/arm64/pauth/pac.c +++ b/tools/testing/selftests/arm64/pauth/pac.c @@ -1,8 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 // Copyright (C) 2020 ARM Limited - -#define _GNU_SOURCE - #include #include #include -- 2.45.1.288.g0e0cd299f1-goog