From patchwork Wed May 22 00:56:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13669910 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 88FDA5234 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=1716339594; cv=none; b=YUHR2LJruQGwbWpuNL+AZ0g8yQ3RKT6Il95+U2xWQyfLgnG6Tu4xiujFXDwiQWR8hQ69e7Z18QIVHHKPazvLimC+mKna0L56dzQMhn6j2lwDaIy1PFeBE/DVhy9T2F0Pbz2YbD1lK4gf1NAEvj0qoFlZ2TE6TK/FenVjUghXKl0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339594; c=relaxed/simple; bh=UPf02dbcijpdx0WyYDfzzs7QhNdmsal649qqGjq9w6c=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=C2+2ZAi2lmkXDg+jqJLSX40+dKpq8J9ycNit5qTrQ73mpOx+Uzwje2IRlBWySSSFbkQLttIY3BQ6oMxojVT2/+UFVJA1qBuvacVnbj2qaB3HKgNDjvOkRP1/P4DSFr5TlMeHStFK8Lpdal8SIho1WfsLaT4V4jK6RMjL5RHrAgg= 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="wgJA0PAT" Received: by mail-pl1-f202.google.com with SMTP id d9443c01a7336-1eea09ec7ecso134817805ad.2 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=fdkS6nuzJPTmBMVuRn5i1sq8bLFxK5hFGSy2Y0/Z9oSLesZX2SE6U99vZTGrQX7bb7 clSdw2Wi2nv1t+tG+bmzpFxKInR4f8Y8V1Pb7MXRqrJ3WNKEEalK6Zxs40IV7zkmbDEJ 9UTVbki4fSeguOJF7A6ey9weD9gq4JDbF7j8wPU1vTwwRjkx8bv694NBGXx9uootHD16 GCTlxOjsSB/RBLNOLGTh4cf/5xQbIcc43nBX6nnqCAIQ5eQStw0zQXlquOlcgkCeuY16 svoInLC0uxrxyLkORO02RzpD1aCDINpH/3QrYyPjasEIPxXtuPFqjsv3/t7bXmP0mRqO Hb6g== X-Forwarded-Encrypted: i=1; AJvYcCXPL9I63BjB2IANQkZ/y35pwST5wR8NDWS1xXz5/ujGDLUb2K2w5qRqyQRX4XWK/HgSmd4KZgN0+fQE5oCzNX+XT8Qh X-Gm-Message-State: AOJu0Ywpyx0d1T+PIrfupjPRAuAI3riTMpRsD5n4mET/3j73P4yfjF7A f+gngv0riFDsNBuys9KuYa8+omW7D7FVXVFnRaWauhNc9LXiWJtJH4ni2jjVr0C7EfziiFqYGZ5 FaQ== X-Google-Smtp-Source: AGHT+IEoluKrJmOyFwoaPpDSDecfFtDU30gApMNSHC7b7ZSfhyGyK+abS6RqlmYIGQxtFLFdPmJSYbqqJdc= 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: bpf@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_Sala=C3=BCn?= " , " =?utf-8?q?G?= =?utf-8?q?=C3=BCnther_Noack?= " , 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 _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