Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp52612lqp; Tue, 21 May 2024 18:11:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVhVEh74qSf1E5ih7e0BojFilxx8qwLy4dGq/yaxD7PIxU4b/S8U8KtLEOrO4tt/XMKzcO3DZxd8BA4b2LMAy9uBlQyMTtv/9YK5qQXRQ== X-Google-Smtp-Source: AGHT+IHt4VGppK2d9pkt1Av+oxTvahjl4m5aXkvMMpj6yTuxnRjK+nPp+vWKf4aBReSq8C6oAUZj X-Received: by 2002:a05:6214:33c7:b0:6ab:6f6f:20be with SMTP id 6a1803df08f44-6ab7f3609admr5544286d6.24.1716340286831; Tue, 21 May 2024 18:11:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716340286; cv=pass; d=google.com; s=arc-20160816; b=IMb9gc25Y4tFhcsd5Ij5y5BXxqCMgEjzXIgI1K8S5kHOQ4BgZEM0stIQhlUBdAn93j 6/filsEA/+ND+JBwuX5efh+T6Vb9xTFe03p0Kn7IuoUPSwMSbSy8/w019EDRO9433BQy h1Wn+jU5aX156GdD9ARdRpVEZ4bAY63ThlJ4CpxyiSl/wCfLQYcVhB6Lie71rihbEbaz 3AbxAxOWS2H5+wAG71HkVsYXm73zkI+MUq0C538g8e+LDcJIx7aseXhvvFy64jGtWcU4 Hwt1M33jnUE3UkwtDIWaU4utGuuvsFq2+/URzq/4FYYsh06d9B9tC+s/w4AKuFpHdqfs hdvg== 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=yAQSiPU3Xxpg5se1jVwrYALJE0mXKiuWYh1IlCTKguE=; fh=ilS3pUFyDrcCUIYz3PycK4DSHlkhJ1fOALY00/bRZAk=; b=ZVWJdueU39d658QODTJAsCQL8zutf0QM6wPkVb3ZV0PA2rFyex2QGr0NREShLEW+y9 NiZPvtb2gHbQtsAlmWUZEvIF4I0veDWpv7uezlYxzJgsa+39iIj63mnAQJHuIV5dezID q7kWJ3v+9+sGQxtPAES+94QLMRP8cLvf1lJeususse4ICjotybuqy+EVA/YLwIzKYuxb vI0nOmb879mov4plrgr1SM/MjyxswBddXjYAdkp0SzmlS3/CN5cNjwhRffIwHg61coz1 Z9pO8x18t2V3nnpTEI2evXrkMFUQYSc/xDlBB0LqyHDOf0aAWRLeTd/TKxtmiZAatNiH QxNw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=DBx+aRsG; 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-185604-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185604-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6ab70b88d2fsi37933036d6.43.2024.05.21.18.11.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 18:11:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185604-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=DBx+aRsG; 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-185604-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185604-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 8C7B61C208F4 for ; Wed, 22 May 2024 01:11:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 677D714B07A; Wed, 22 May 2024 01:00:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="DBx+aRsG" Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.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 135E714B06E for ; Wed, 22 May 2024 01:00:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339650; cv=none; b=GvMqMGINLz1AFbuU52AZak8fIQ3xWqDRT6s+WS8Mi7x65ogFb9tuPTan0/q/l1jzrA27dxJSn0jLBsxdiq3tDj3iy9R1a0FzduLRRr4Rmz3MFgYQC1SiwqRMszVJAWqxQG8j1Lsqf1bZnvy7DzsVnqPAIGsZP4q2vOQVCbK1oqo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339650; c=relaxed/simple; bh=lsQ42Y5Htgr3DTEtIEz5DolJMzdlzKLlDpLP6Gf0KXk=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=JzgFgQRq/rm78oEZCCtmtLDqLNAqEAnQWmEnKja5uz3CdIyD90CNG/usRg7vz2EMl9uzakk+i2NL8iwfHqWUZYEQfA6RP9vG1uSLl6+CPrkQCoxMk31AmDLzw4I4As6a8sg5RZXEI++LJ9/zY0O4dZt3gVxMwwRvMCoHA5ENPR4= 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=DBx+aRsG; arc=none smtp.client-ip=209.85.219.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-yb1-f202.google.com with SMTP id 3f1490d57ef6-dbe9e13775aso23644230276.1 for ; Tue, 21 May 2024 18:00:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339648; x=1716944448; 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=yAQSiPU3Xxpg5se1jVwrYALJE0mXKiuWYh1IlCTKguE=; b=DBx+aRsGrh43u1T1Bdx0RBdlDC2H0IJkLaia4U6o/JP83zOgcIEc+I4V630p2qBfVo MfhV94JD++lDmpnUJGolpYOa/gcikUtgEb/PUuz5u03sNsqEqtmy4DnymaQt/+U1QiU3 H5XrO57kUalPd8+1Pg7Tv+T0s27wlP+XCVBxUzIDjroxUwTNtWWPN62oGIgn6J7wwBRJ KsQkRUSgoVksiiILKhosxCD6QSiateUyDkXHA6ONP8B64Wdbn75m0dHe0KQmiVwLv07E aCf3FkS3Q91WT9AeSSB1xiJswErFOxevLTYCyvmZ87MfJJB79ur+yhUYVZ1ZRYvUrxJC 6KPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339648; x=1716944448; 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=yAQSiPU3Xxpg5se1jVwrYALJE0mXKiuWYh1IlCTKguE=; b=K1OUh9E/Rt/MidS0Q3OueyGIFBqMW06sRNLmXohxIfK0Yindqj57F8i6k4RQyBf+Zf viAcPvq9c6c0xR0dya+UVrXiks7w/fECjJrT3yVLL3/gTqY5Jrz+qAnipETh8xtHkTaA rmAGrq+Fd0+/mAqVUMYxgoT5bEUfvCVD8jiGQ4UxwNnPO+PXmPwdLKqaRGTCAxWulw4Z Let2y2aeesI8wiyptNMhnGuPP30hASKbfsPGqvg215ysSMvdvn5rwwHVMn3ZheCguQa6 f304sSnObepI1AoZgena2QUKSgBBca/awHoPz1AJ6Db01zuJFF/QszPSQqG6UQt5VBUm g4DA== X-Gm-Message-State: AOJu0Yx3n6W2P6pFcU9Ky/fZUCUPzuNPKr8QXJx4jJNH8QZPYNmfWZLC +ytUvXpJjCBmSYGoPj26Iz2sDi4yVE5YTpVTwsxuoToYdtwpLJ2RhVhl1yCi140OMIS3Gtfj95g thQ== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6902:1083:b0:dcd:88e9:e508 with SMTP id 3f1490d57ef6-df4e0ab542cmr224908276.5.1716339647973; Tue, 21 May 2024 18:00:47 -0700 (PDT) Date: Wed, 22 May 2024 00:57:14 +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-29-edliaw@google.com> Subject: [PATCH v5 28/68] selftests/membarrier: 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, John Hubbard , Muhammad Usama Anjum Content-Type: text/plain; charset="UTF-8" _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Reviewed-by: John Hubbard Reviewed-by: Muhammad Usama Anjum Signed-off-by: Edward Liaw --- tools/testing/selftests/membarrier/membarrier_test_impl.h | 1 - .../testing/selftests/membarrier/membarrier_test_multi_thread.c | 1 - .../testing/selftests/membarrier/membarrier_test_single_thread.c | 1 - 3 files changed, 3 deletions(-) diff --git a/tools/testing/selftests/membarrier/membarrier_test_impl.h b/tools/testing/selftests/membarrier/membarrier_test_impl.h index af89855adb7b..a8a60b6271a5 100644 --- a/tools/testing/selftests/membarrier/membarrier_test_impl.h +++ b/tools/testing/selftests/membarrier/membarrier_test_impl.h @@ -1,5 +1,4 @@ /* SPDX-License-Identifier: GPL-2.0 */ -#define _GNU_SOURCE #include #include #include diff --git a/tools/testing/selftests/membarrier/membarrier_test_multi_thread.c b/tools/testing/selftests/membarrier/membarrier_test_multi_thread.c index 4e14dba81234..c00f380b2757 100644 --- a/tools/testing/selftests/membarrier/membarrier_test_multi_thread.c +++ b/tools/testing/selftests/membarrier/membarrier_test_multi_thread.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include #include diff --git a/tools/testing/selftests/membarrier/membarrier_test_single_thread.c b/tools/testing/selftests/membarrier/membarrier_test_single_thread.c index fa3f1d6c37a0..c399fbad8efd 100644 --- a/tools/testing/selftests/membarrier/membarrier_test_single_thread.c +++ b/tools/testing/selftests/membarrier/membarrier_test_single_thread.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include #include -- 2.45.1.288.g0e0cd299f1-goog