Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp182724lqo; Thu, 9 May 2024 17:16:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXXWlVI3XVIAT8uu10sethtPY5uzj4RTXJ1RjX3Y1XuV09+KgySd315+RTimBINGmqmoNoeGQoE8+ZmpAXbeVIegoru7jlXklMynfQtRw== X-Google-Smtp-Source: AGHT+IHOasFKVZlTmeF1aM2yY4dv8N+LlT1ocDgedXKE4GmVS1Nd42LMq3WVYPcDdof/wTqnGUTK X-Received: by 2002:a05:6a21:9985:b0:1af:8106:e046 with SMTP id adf61e73a8af0-1afde191e41mr1620401637.20.1715300174584; Thu, 09 May 2024 17:16:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715300174; cv=pass; d=google.com; s=arc-20160816; b=CUnD/P8wGOoVj8Ti8ntXk2E/eBdxy66Yj06fT8ehJ2QTdYERY/LzqIxPVRvxgfDGy8 vYtboAv4nNOHbzMa+8/hw88y8blumXNz0ZCGQcHdbr0b48pY/yQLg//TGChl6R5ef5oD nNln/IQ72w5gMxhpGr6Ny70Z9Izn9Pqne7npHWn5H5hGZ99L7s/kI0Eh+bC7OlCKUaPh vf7UD6DIO2shOsJpisWbcPlZnJTuz73TBo26ROlFNZ+gN2LSns0NcCOw0Sp1kOypysZ6 XWURcoG9GAnJ3DcgPCYZMQ0cShGv8WWPZISIRYAIAp/IoZfVW560qUPmkaA+5H4rTGPb y97g== 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=rki1zNwlC4Q2li/JAqXiFWxY+6JbB/VfdRW8esf0LTc=; fh=ilS3pUFyDrcCUIYz3PycK4DSHlkhJ1fOALY00/bRZAk=; b=XfN2X9wtljp6wMLFjwY7K9IiYc6gOyIydZopViE8u2igoQZckrfm996974FgSw7Y04 bLumiQxaSVda0zN0viCsUQeoYZjvCAn2wdwAcPaObTySpAxyOUtNQhlsSk4ABeHVaPQ6 GaQooH26cj6EPQXt9jppOrd/yZdOBkm4InSSzOZyUPA3CcKT4SD6++LSzMn2TNaXH0aS N3VDa3aUM1+v2b5B0uw65VV3WWetBXbh3AWwbK4VIp6PqI1JTDHleoHY0MUIWrUZQCHS EYuCudyk1NYgP18Lx0ybBNAZSPFNVhYhJwHG6YmY53si35fOkFr2qOSY1f922mcTVNDY LUBA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=Yz0ta83T; 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-175106-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175106-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. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2aef0ccsi2428869b3a.180.2024.05.09.17.16.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 17:16:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175106-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=Yz0ta83T; 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-175106-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175106-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 C3A1AB22579 for ; Fri, 10 May 2024 00:13:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6DCC94D9EF; Fri, 10 May 2024 00:09:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="Yz0ta83T" Received: from mail-pf1-f201.google.com (mail-pf1-f201.google.com [209.85.210.201]) (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 16F7D4AEF0 for ; Fri, 10 May 2024 00:09:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299778; cv=none; b=ItI8MrUJXgYHmCeF39qJSTE3c23ruQolIIJ0lCJfsvztSIbaWFMJ9bCWXw1ZQDULTn3I4ZFfYCpKISikC5KcXVhgPkWzBlv0qTtNQg1W72bcoU0GNbD3vpRTUfxunkCVILJY+slAJYS+25j3a/3TT80ddDY+5/0/k+KDDg7Y1t4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299778; c=relaxed/simple; bh=uP1VjvjO+ZG+H0u8xtc1s3616aMKUL64MqV9W+TF5xA=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=cUHQ90mD5MGNUhc5oR+STUfgD78JTJwv5B5ZDYL8Tj6mkzbowe1ef1XlDV+E5gE66vR7Ws518Uyc7krnnfAiEz6dkTz0GsjhBD9ur0XYvbXrsx5s9ixA5UqJeIk0HyiIQh7zi7cZG8I76ZVcXIimUS32dGdd6b72DKuwdShHnNo= 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=Yz0ta83T; arc=none smtp.client-ip=209.85.210.201 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-f201.google.com with SMTP id d2e1a72fcca58-6ef9edf9910so1410762b3a.1 for ; Thu, 09 May 2024 17:09:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299776; x=1715904576; 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=rki1zNwlC4Q2li/JAqXiFWxY+6JbB/VfdRW8esf0LTc=; b=Yz0ta83T8xfHIJ4KRf3Aavr9G878zQELtD9Qj30m438OqnqWy+TJEQMNexcm1hcsD+ M1GlhWcWtZchm6imrHzyYKmik6ZS+uKk3yTj+nh5f0iWRZs8rEnkiK2QTEahv14K8U+3 NLI1G+0FvXlJAd9blL50OVkvxHnqkL5u6qIvkAkMR+SRe0Kp1mnAwcErmE8aqs6zQ5D/ h+L4I6U0H7OLpnXKs+thE9hvrSQAXW9KB6Rz3JXLh0vtwMweYWi3mxiqB3bMlKj7Xpfm cY4gKaq2hZc1PHWrTgr9TfKhHNImmpE2I6XwuyE5SlJaRCx7vxVMCtPKuzkMcgT11RNx lQcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299776; x=1715904576; 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=rki1zNwlC4Q2li/JAqXiFWxY+6JbB/VfdRW8esf0LTc=; b=om6zi/kykEk/dn7LwQ0bLyDnMZboFt361M3mB8z2J6CrKbQuyJR9uQ5rX6PnlGN7LQ O0qrAggpEzj0k8+6NacR2TX2lSpeOyOFz8iLUqeKkV7n8ZRZx/Qp5HNo6H6HUL9UkX3H EGkA4d/UT66CYY/WytgM5HzQbdwrKM/glk5eDOUvgD6UOqKNGYbbxk+TUXKmHlJIy0vb Ywz9GpR9ujP04qkcCKPpH/8fK5JXE91wHHORQKelFRgbJLm5gYxqf4hgx9gnndDRLGm2 AFxpQGFy/NoAQ8W8qtk7joRzt1Xq88qOjBMdIJTUhapbWMu9NAOzNXTHCGfHeaR38yp3 tm+w== X-Gm-Message-State: AOJu0YyPXhc9+O+UK4BIKhtR9HPvHBo9D+386AoEDGTt3HcQi4DXco/l GW+i5m6TEYKKldOFcggqYMQOjdUsOv/MYEDSgs0c3fxjdQGLRFQHgIu0iHnPmvJnKcUzN8cysiH OEg== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6a00:2da6:b0:6f4:47dd:5f41 with SMTP id d2e1a72fcca58-6f4e040fefamr39256b3a.6.1715299776407; Thu, 09 May 2024 17:09:36 -0700 (PDT) Date: Fri, 10 May 2024 00:06:27 +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-11-edliaw@google.com> Subject: [PATCH v4 10/66] selftests/core: 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/core/close_range_test.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/selftests/core/close_range_test.c b/tools/testing/selftests/core/close_range_test.c index c59e4adb905d..1c2902bcc913 100644 --- a/tools/testing/selftests/core/close_range_test.c +++ b/tools/testing/selftests/core/close_range_test.c @@ -1,6 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 - -#define _GNU_SOURCE #include #include #include -- 2.45.0.118.g7fe29c98d7-goog