Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp50278lqp; Tue, 21 May 2024 18:05:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVG2gIvRPMFDDxmbuM8oAs55mguqN88Dw6rOeAmLytoyl8g5+X1ljoFpGPgLVudT6dYCQ72PXSWbypWNDzNuR/peCJUfRm/afKBh3z9Ig== X-Google-Smtp-Source: AGHT+IHk+aKcFv4f4L1toBCCnRcH3dpOK5xUK/hIGRmReDlG35SMf+ZelRKSbH+JOm5++mnN3TQo X-Received: by 2002:a17:90a:a790:b0:2a2:7edd:19b7 with SMTP id 98e67ed59e1d1-2bd9f477f53mr682898a91.27.1716339956998; Tue, 21 May 2024 18:05:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716339956; cv=pass; d=google.com; s=arc-20160816; b=zpZZrDqbqAl9JM0R3JyW1f1Ex47+8EQeQb+7Rrr32QxDWeQM4o0EOzK8f301i+eWQ0 QVMvv5bUzbEJE+flDOl2TyWPVyhRKOgZ6dPBWTS+xD96MT5YR+IKfYtqrPeDQOI0+b0I Mdid4v1bwwjvdZ2Ne5m6crWa9O7AhiqJtVm/dKEjMUq/oDVDQlyQAicOg7gd1Olzpq/K sU9wY53t5rgMoFqKi/qZI/5FHyTcSs+WU2i8lsXQSQ6a8Zv2UVCw/TjdIU64sd62TxSl pAKheFqUXlO0hVhdBrcA+ly3ghl1ZsCTRfOTm0Rq+4I5/nLsJo9OXZ+UL9LU3W/f7rCm psjQ== 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=hrpFzBzOl35j2xYdfjQDxhIeH3idaCKna/k1DUsQtzA=; fh=3QunbbxwS2krlZ4s01UVMEREr2oOXajYkZa0uMxoA+Q=; b=OTP4ho25P4XJRjrApDgDDxZxB7w4VMxWFnzXaocPN8jqkKj07HCwoqAo0oVUE/Wmwz 9h8sHeRIOS8RsP7+1/uZ5G1V42t6jU4PQocJtx+esJX2bjkJpvDczBw68b1vtYHOQame 5NkV5bL7WGw/W2t/dbQYIXxkC+jarXHJkfDoLYKMDuyr7Wi6I6IOB1lXa3uDPxVra5SG ttpyebcWBsxH2hf71ZEVY0cVAqJujQVO2/g5l64CUU4uoOBJwvoUytTfLmICHREH3/rq N6vBQ2EsRUO8t06IBp5iCMRUzzjqE4xMwpCAnim0Y638IDVfuEpAIvN0P4i8/EHykU5S JJog==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=wgJA0PAT; 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-185581-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185581-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2b670f58de3si1515878a91.41.2024.05.21.18.05.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 18:05:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185581-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=wgJA0PAT; 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-185581-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185581-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 75A3AB2361C for ; Wed, 22 May 2024 01:02:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AD88733993; Wed, 22 May 2024 00:59:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="wgJA0PAT" Received: from mail-pl1-f202.google.com (mail-pl1-f202.google.com [209.85.214.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 890085258 for ; Wed, 22 May 2024 00:59:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339593; cv=none; b=Jhmyayeq+qvp9aK+vKVySrLsTTJErqvYVo2gBvTFT8xNxrKp0ROY9S7eRdwY5G1LGCka7Dlargchoq7Ke4ApECbjrkDS6Gqzu5teNBgBEhHn90C9eXsMQNfnpq0yvvVOGmrLugPFjPCSoMTk5krbOHziV4U26KIn0IakgAvDqRI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339593; c=relaxed/simple; bh=UPf02dbcijpdx0WyYDfzzs7QhNdmsal649qqGjq9w6c=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=gw2RmzKdQxP8XhmgU2qUQXUxF5OOineETRcZjFmhKEYyy2CTAmZsDL1RoJYfPSMwkIK/MUOe2gfNObAK2FXAXdbAPpS6HHQtkkomu4JP/LwPnStqzKDS0xXtzemyxUE4i2J3//uOQP4YTaerX+46YO+IkF7y+RJENHudBWnJ8Ys= 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=wgJA0PAT; arc=none smtp.client-ip=209.85.214.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-pl1-f202.google.com with SMTP id d9443c01a7336-1ee0caec57fso126213095ad.3 for ; Tue, 21 May 2024 17:59:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339592; x=1716944392; 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=hrpFzBzOl35j2xYdfjQDxhIeH3idaCKna/k1DUsQtzA=; b=wgJA0PATBK91/wBgCanA7pMOBMe1pSbbs6Q4TdpThd2ivY2qkAG4jYUteDD/7IZRMC DzJiy6nbdHsBTDCbxfmscQAn2ghZPHJClUobEzk5qNefj0tDGAm9Cc0awqxtB8bUZ4zs CBKbN1jpBPzRSMCo0jAuPVUQpBbwdt4Ujkl/KkDpPn2Jv0L5L9sX2MJJ14pwwQhYhkO2 cb9m++dN8G1s+bALZvDgQwUuLlZSocpaX6qY5WV+1fJYN3RCz/8MX0Vty19tYUBgHPxU aMoi2R0wkjkSu67knCiAG52OEhQO/FyQPgQ7o7BAby83Ll47dPnp60APaGfZsA/r66Sm z3KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339592; x=1716944392; 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=hrpFzBzOl35j2xYdfjQDxhIeH3idaCKna/k1DUsQtzA=; b=kgYqeZCXVWPcrf4A4N/r1uEFDyAZder4wL3XHdHCBxqyTfnu8cgV6bXyhfOaLUI8GT Ax4R2UphroENU42/BSzK2HDXGO8+u33zs7KuA5lZbyaKxHJsKkvo1VnSqBsyhwkMtZk4 WkWBFt/sf7YNhIt4W8YH/1fEoinmEwOlkqQ3T558S43YMcENi2kmS7qB+X4qsSkeGhXb xwN2X9iGvn1okx+htrCeIdR+kWYIGzOsmh7s90ClMscdIMUbypBGSVBIvtvACrZiKz+x uobc+tE3o3ILg8aXh9N67BBPZyxBfXGPXSn87t76GS5MMF3Tgk8D91qqxBByfhs3rz+F lL7Q== X-Gm-Message-State: AOJu0YwvH9k+q53S9PfMVRDrhyWHEFKLs64wsFlcbkAMojlKLs8gEEcX eJamia2PfGir0MNMqYLVGTunhliTrFr3IFVExB7vD7b1TbAiUfHWfLlIEU4DEwEk0t2+VTUmRA9 Q2g== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:903:192:b0:1f3:35e:7dcf with SMTP id d9443c01a7336-1f31c94c59dmr524115ad.3.1716339591969; Tue, 21 May 2024 17:59:51 -0700 (PDT) Date: Wed, 22 May 2024 00:56:52 +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-7-edliaw@google.com> Subject: [PATCH v5 06/68] selftests/breakpoints: 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 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 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/breakpoints/breakpoint_test_arm64.c | 3 --- tools/testing/selftests/breakpoints/step_after_suspend_test.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/tools/testing/selftests/breakpoints/breakpoint_test_arm64.c b/tools/testing/selftests/breakpoints/breakpoint_test_arm64.c index e7041816085a..e5a95187ac12 100644 --- a/tools/testing/selftests/breakpoints/breakpoint_test_arm64.c +++ b/tools/testing/selftests/breakpoints/breakpoint_test_arm64.c @@ -7,9 +7,6 @@ * Code modified by Pratyush Anand * for testing different byte select for each access size. */ - -#define _GNU_SOURCE - #include #include #include diff --git a/tools/testing/selftests/breakpoints/step_after_suspend_test.c b/tools/testing/selftests/breakpoints/step_after_suspend_test.c index b8703c499d28..695c10893fa4 100644 --- a/tools/testing/selftests/breakpoints/step_after_suspend_test.c +++ b/tools/testing/selftests/breakpoints/step_after_suspend_test.c @@ -2,9 +2,6 @@ /* * Copyright (C) 2016 Google, Inc. */ - -#define _GNU_SOURCE - #include #include #include -- 2.45.1.288.g0e0cd299f1-goog