Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp180809lqo; Thu, 9 May 2024 17:11:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVgOwuKpASquvNCJhKMAiektzOTjxp7hQtkP08G43MAxJoU0kw69B+ap89FovBeZBRvN2T1t4gTLQrBPR1EyENgkPXT1j1g9CsgORBWxQ== X-Google-Smtp-Source: AGHT+IEaQSCyhAnq4qZCtZ0VqLkfpstv2u2ce04EWf5chUH/pLOUBd02MR8I2C6fR45CrDBNj8IN X-Received: by 2002:a17:906:7f99:b0:a55:b272:ea02 with SMTP id a640c23a62f3a-a5a2d67b044mr63849066b.75.1715299906577; Thu, 09 May 2024 17:11:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715299906; cv=pass; d=google.com; s=arc-20160816; b=XsKeLhPzFb4GXkwoJYLqGAAk0l0TExiqtDYMzgsCYn1rILZE0v9ZPngVnJ88Cz2SxP om8j0DbaPJIoePsQXhfQ5+krjKigG5L9k6Fu4cHfHdnSLPZjOQNPwdx92zIe0l96331j hfsRKH6pvcSk4tS5xtIq05ZT6Z4RhACZU3NLNkC4cUn4jFieMbTkWuWY2xuwBgZ5BFHI SXvAO0NkYKWmtMmENtz2AUifc0kr8w2rm+W0AMDPvNvWwx6t7qwN/S5bo7j57w1+o12P 0DYZyJghWTW4JyO/rr7sYhHwRwLK737yBLaf453zib4qlPMzTbXWJ4U9jIW27++v8yn2 3CoQ== 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=x5hVF24XSWQsJ+4cb95KYVo5LMwPzJ3133L9BIUCMMM=; fh=3QunbbxwS2krlZ4s01UVMEREr2oOXajYkZa0uMxoA+Q=; b=shYMCWyuwuvWjMQbAIwMtqMKwjqoM63TwzsTtOqlEfEmW5fP/XzPN4ZiJAZL0zfszC qnhHPafDt29rMdfFkK2JZu40qLo7RYyY8CCn0evon822YG4dzH+sKQg4i4jjuRnBOuok SFPZh1JCGlEPzRahqoMB2yj6iSSL0MF0QbY+WjJtMf5zqe2FvKswFCg19jt5+ni54Ep+ oZRbAwH9XhDIhrONGVIyaNQRp+qU4/e8B7fUy3bYCqeQbfYQsJLear4YwDcRekUBM4Cf G9/Z+PR6A1029XTfFYxYa45ASiEd/zShigbUBPFUHQxxhuOv3bUNxEWBAm/AWMCRO5MY a4Cw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=pITzxVD3; 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-175101-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175101-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 a640c23a62f3a-a5a17c2c899si144797666b.1033.2024.05.09.17.11.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 17:11:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175101-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=pITzxVD3; 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-175101-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175101-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 29B9B1F229EF for ; Fri, 10 May 2024 00:11:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 223202E3E4; Fri, 10 May 2024 00:09:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="pITzxVD3" Received: from mail-pf1-f202.google.com (mail-pf1-f202.google.com [209.85.210.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 B92E72581 for ; Fri, 10 May 2024 00:09:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299766; cv=none; b=ta1qIcfgBbzvR6Dn2owZjLQ5OIp2FcOsNeigwdVKMSjospysTS+sN0wO3xT48jZcfiVzeafr8vR5Aza6uzc8qoH4P4KNAi1dGqULVU5zhBuJ5sb0AorsdVakYc37V4myk9HDNJY3BT9mbxJaeRHqDKEUCA8vl04F7iAJh4Jt3ew= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299766; c=relaxed/simple; bh=k2mxng2RX5GUHfGf5TqA107hGVgyxKKMveycAQ4p3io=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=OY/XtRMGe7nBnM+OCLCrdKPX+OCI3g1mtoYagu9jb3l5ernCcE2QB4+tpOe23FwbzIzXnKwnvJ/+u5Za/+D9NNHFkMREyQFE95pIwc3xZ+G5sPuM4QbnKGMJxNJ88l5xM7XsQXgIlEzrxURFeYPAP44BNQ++GvGYgaxYjKKwdk0= 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=pITzxVD3; arc=none smtp.client-ip=209.85.210.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-pf1-f202.google.com with SMTP id d2e1a72fcca58-6f49fc7b5e6so1545567b3a.3 for ; Thu, 09 May 2024 17:09:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299763; x=1715904563; 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=x5hVF24XSWQsJ+4cb95KYVo5LMwPzJ3133L9BIUCMMM=; b=pITzxVD3C7TrrraHAZZ29bi7mELrKMSAIrWUdW1s2See/thmVNqx8Eaf+0RbEX+JMZ UJGUDIJl1ZXGva6chhZudIlEMWeypdaunZkcLJ3SHESUlw4cV7Vo6A1ElqoM7pv7h/DZ N/HsnB1KyTvDGl2tVLfN0EqERtyxHOJYkEDz0mrftGfiQJM7/bapf4HDNRrwVN1nrcz1 qaIZ4+DXIVt+M4iX3RDGVWCnY7Xbu7CZOXrQcaCCxgpNi4ZGyE/HaeG8/+3p+yH4Hpmr x1/nEFKB7L3OgGuwJvGcLgM4Cfj8CrmOE02zs65TmuotWvGTk6stEwhlSKf6Uiwvo9IW VNKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299763; x=1715904563; 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=x5hVF24XSWQsJ+4cb95KYVo5LMwPzJ3133L9BIUCMMM=; b=JkOLSXzZBWcqKlrHzKpFBwitu6xphXEl9uGgE968HW/+DXimxwTthHx/BgVaynmf5I 3d7LkfCirbm8FmyC5THZEyz2I7Huf77YmKekONDhaupiZASPMW0149iX1fE52PiO09DQ Jb9LmfE5vE3bFzECw+Rh8x8XcisvipUM6Ktipsc1QunY02aKwo/MggIWRDuC/A8u+BgN jtqcDMdv+p9YNFxFwNQFNZAywv/mFY79/l9L4de9ZbHa+X9vVM9NuHpbgoon3DlxDhsz +AdmyVM+hy8Uyrbeke9jLs3JkSW7W/S2j6hwdrJDXmfzzMhzqvI4AKC9NgRi13IwyfQq E5cQ== X-Gm-Message-State: AOJu0Yz+aag0F0yTcioJvAGJA0X3XOO5jAtLVjSy0qudzxJrko3tf+Sn 6c21oR7eiH+bmEurK47l3QLvqlrhFEPpKMT/OZWPfZt+06IrZoE1qhRX8t2z19b2jTrdaPbinYa FtA== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6a00:a91:b0:6f4:d079:bb24 with SMTP id d2e1a72fcca58-6f4e0296acamr50019b3a.1.1715299763075; Thu, 09 May 2024 17:09:23 -0700 (PDT) Date: Fri, 10 May 2024 00:06:22 +0000 In-Reply-To: <20240510000842.410729-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: <20240510000842.410729-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240510000842.410729-6-edliaw@google.com> Subject: [PATCH v4 05/66] 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.0.118.g7fe29c98d7-goog