Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp184642lqo; Thu, 9 May 2024 17:21:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUS74sovS1gTahN9Ewgxa1r6QEcjLEXcit234hkWdYiatxB7TrUMTACleVGqUSbtK8TvHj6umXSzQvf8qhIn1hgwpdFtf72jXL23x+wzg== X-Google-Smtp-Source: AGHT+IEVaAi24iK9Cui7M+mCEe55v8s4kM7+MQiJePyv/cbQgt7uTGFNoNkvgZbISW0BGtArWV8N X-Received: by 2002:a05:6a00:92a0:b0:6f0:c828:8e0b with SMTP id d2e1a72fcca58-6f4e0297e33mr1185082b3a.7.1715300469502; Thu, 09 May 2024 17:21:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715300469; cv=pass; d=google.com; s=arc-20160816; b=e4qHq/z1vHM7LaODrpKHysnLaLbGhR5tqQaZ7EvzxpnQ/7r56xzxiPnaXEQn7AHQ/y NgO/SCGUTYDG54oeCEZ7UykOJl7Rde5MsKaMPxdrgYsVpB1CJ5Xhp1A/rs4Oe6JYdtyO jqbT0zsT4O5wNm7aj2qtdS5jCKgv7R2ggj1xarHnY1yyu1DLy8/K6o/BNWD98r7LF1Er xtXxRjtZ9qxSSKC9rl37dIRGHzXj7cee/cCHwpTJdnTPaR1aAjqGMPy3/KZj3MSHy9Hk cxVVzn0FTSY/ewP8gqJmMZWj/3hgoq5IrGTzEflLxCLSs3IbjHULY8GENM70TX9Ba8NQ PISA== 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=0S2ku+XXmuipqzeUWKEDXJqHDc5fSB/5BLcnzpP9HjI=; fh=ilS3pUFyDrcCUIYz3PycK4DSHlkhJ1fOALY00/bRZAk=; b=QZz9iRtziLTG3ttYqHRJQCenvO3JfjQsKa/VK9AvO0CBkKYDUFnpq4ydHtbOWz8GB1 7FLLsg3xHdWhg8BAyZ6U/81/flPLZLMfZgXWGAQO1SKSzx2vVHHnSIdi5iv8dWjCbCDD 1xlUAC1qKzglhRz44ddrtrg+ai8Ujz/7tJQ9LVqLecu672U39ltQ+U3Lklb5+5W5WuYf UYzChYqYi5vCHjdbbQzYkg+qb7SwQTkP9+DrvGG2CmzpBLLVzenpLGQO+bjqh/8zvv5V DqFAI8Qg8xuTNg7uIQU/81nNofnZhkmK11Nqo+UsUZQRcHq0XVeZcZnsBUmsBAhZxRVA dVkw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=VX+YBzTm; 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-175123-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175123-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2aee1f4si2593231b3a.158.2024.05.09.17.21.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 17:21:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175123-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=VX+YBzTm; 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-175123-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175123-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 89702284AD9 for ; Fri, 10 May 2024 00:20:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 914511304BA; Fri, 10 May 2024 00:10:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="VX+YBzTm" Received: from mail-pj1-f73.google.com (mail-pj1-f73.google.com [209.85.216.73]) (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 2040312FF62 for ; Fri, 10 May 2024 00:10:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299820; cv=none; b=UwWdUkAAgIh3+aPzNNfJHScEnMJ5gzAcsfa8EpXrQBfhaRZEJPd/h8+dYt4NXZNR9FtF8kEx5M/Q6rngrbwxERoYcopiPlYmE5s4AIAG8aDgBNZscCpGbp58EKibjn6QWTwbiqIpfav8NVU3fcBntr1SK3cOJjSpTp5PsPbiSD0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299820; c=relaxed/simple; bh=HCpBdVfJG+s2iqOCbWg1zZn6r84Mcw7MdFykcaLHTfs=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=iBBR7A1S9zDfAT6wWp6xkTon3XDPMYgVFiKjUSYvxlByQbV/B+27bYftruCc2OLh9bL3TrIpO5al/rHfCbw+9P/5LRGlb1ow54lolwp978hP02Hstx3QuBUz3vgbK28xU5yknvL4qlPH9Bsae8NqzDQ0zId/CHCoXFjR2mZPjTs= 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=VX+YBzTm; arc=none smtp.client-ip=209.85.216.73 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-pj1-f73.google.com with SMTP id 98e67ed59e1d1-2b33cce8cfaso1344873a91.3 for ; Thu, 09 May 2024 17:10:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299818; x=1715904618; 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=0S2ku+XXmuipqzeUWKEDXJqHDc5fSB/5BLcnzpP9HjI=; b=VX+YBzTm6FoCh987AXwEG0NGLU7ebn+8AqhAuxwgQAbqrWiTYYkJNuVzaI6ZzwB3+2 U+UgQlZQgbLHcecYJoG9SlA64WQJuuWbBU/Zt6xNvzs+jPZ7xPAh59E6h2HyPqxBTUGX e9QjQ4OqQntQzPDLRD18YWLiu2yWR6uhSWEcFo6NWehVUHfbfpArrSrmTukzQfclUMrT fIpwukHGMyWdCNtr6pcKVHtwC8hQPFIXfJhEqDg4GIAdM9i2nXEDm9hH0XIpnc5dRBdJ TVKsEceJQrbXIDReYGDdQYl0O0hUiOT4WxEmxPLsr4Z/HGYv8iGmLukpAK08/TBCXfbC amhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299818; x=1715904618; 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=0S2ku+XXmuipqzeUWKEDXJqHDc5fSB/5BLcnzpP9HjI=; b=gW5qRThm7rBQPMJGXMh9eGP4xjMDTaiLCE5oaPw6Goj7aXCzCGLMiqrIsTmRBdlUm/ uoJizjVhSoDLDImwGh3FF8ZbVzq/KeyocOFXQeReXuD7qW869dsyj9CSmockXb2sL5h7 6Kady9jh8fd1dQHmtlT3km4zmJO5SNOnFf5gzgGc05SVhma3tW9R3xjPmd/qQ5H7KqwU df23Od/IU0ozJ6j/CmBGk6Pshl5oa+63g5rkxJw6J7Q3g0r52U6hmdFjtwSF57XURGjl xGpVYe8X2MXeM1dJCJ9/JXYavxC39k4QU+rjxpZ5sm5zGuv2e2V5gcGi9VxExro1ZRT/ +Eng== X-Gm-Message-State: AOJu0YxonZ+GcNSqhSLTVkgWmRr83oHcqfRXI8BfrcyoW9/6H2ySP4fc xP+dqiFFmDQmxhEcJWeuDcAsaIUBwqiMOA23og3jaeU/36V6+xz0wVw0D+ATWyhw3BYfy8pUdB+ Ilw== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:90a:5403:b0:2a5:dd7:1c35 with SMTP id 98e67ed59e1d1-2b6ccd85d25mr2766a91.8.1715299818491; Thu, 09 May 2024 17:10:18 -0700 (PDT) Date: Fri, 10 May 2024 00:06:44 +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-28-edliaw@google.com> Subject: [PATCH v4 27/66] 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.0.118.g7fe29c98d7-goog