Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp183720lqo; Thu, 9 May 2024 17:18:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU4WRBhnnO7jil0bsR5q4OyHLOxHhuJ9oR1pJZJDBWOfOVv6+AWsng9GXECuCWYM7lgStiIn6adLbizuvZyy346pfmMKHDeSuZ5j0MUNg== X-Google-Smtp-Source: AGHT+IFyWnlCHocNdCN1HvOBLpqlXOw+s6nArR0/O5HrJdCr0biqAcqoDtleL8BgsWi7zU7nYIa7 X-Received: by 2002:a17:902:760e:b0:1e5:a025:12f9 with SMTP id d9443c01a7336-1ef43d2836fmr14635165ad.28.1715300327477; Thu, 09 May 2024 17:18:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715300327; cv=pass; d=google.com; s=arc-20160816; b=vSqsSHp3gSJisPavIccgPYOQzicn92Z9Xrs0rth1uk9ES+/jOv/ueSzbrxF2vCv2XS Ef6qfROId9Q/RggMoiYk582hw13iYxRwvS7rEipeqOi9OECfVNnixN2r/e3d2d9PpFHq HTuWVluBFwprl2XQz2o7mQIzfd6evYGdVas0uIo2Rk6XVWo1UVsZNlV2E8MEWKUfX0Vq IR+oEaSjEnT+qpFA80Ly+UH26RsCIBTYdHsqQyHyxBe2KCneYnBGqdYnxrP2kEBQ+jk5 DoGoNZ7RMIUWkFBlkA+wBWb4Vu65FilcZ9nLXhyOjP76z21UttuAHeNT8it8XghZEFgM 37Bw== 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=Uqtc6lb/bjRHtHw2HifamjvJeZYo3Iv/aojOVKqDLuc=; fh=3QunbbxwS2krlZ4s01UVMEREr2oOXajYkZa0uMxoA+Q=; b=QA6100vsHCccezC7dZsCujcfeDsKWl3Ve14/6jfqpnPlPGXeDw6nQP3d2GRIHEs/I6 KByUDt9KPDBzFNemPXC9k9bHI5ugmVBIu2oQS4URNo5rUkGUaVyTkdpNOM+rjdRfIKV7 rxWIrzFBn+vtFp1P47kVpqSp+dmPBLAfiYr2ALkvLFRzjh4bNgh/5/RcMzQeTIaGMPgj ka79mVE7cPqPl/eU53FEtxuarTnVbBEu42R2oJJq8BSHwObtm/GX8fYLqmd03QPLwNdT c75i6SFA289Tz5QDPzbNIX3JCGioAdA7x+XTFp8WH1lEjIfz3c/eKIQ2+mztFxNpI8cp Bwfw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=iMwzbfWA; 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-175111-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175111-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 d9443c01a7336-1ef0c15747fsi25936085ad.492.2024.05.09.17.18.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 17:18:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175111-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=iMwzbfWA; 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-175111-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175111-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 34200B234DA for ; Fri, 10 May 2024 00:16:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ADB8C56763; Fri, 10 May 2024 00:09:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="iMwzbfWA" Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.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 287CF53812 for ; Fri, 10 May 2024 00:09:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299792; cv=none; b=ckzvi141t9VhGq+G3scl8nqkNnCR0PEJIdvtd9SVWKyjpGD+jO9szKbD8lZa7cBEfsa1ZJTq0ju5V3uVmSMzX8T+zJSR8W4wD1zwwE0Z3J5W3s1UT5GBwU9kssytd85o9H7RtuXpB6MbBWCKRKLRlaNq2dqNloi5bZjwvEPSTFA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299792; c=relaxed/simple; bh=fU2P3ohii6eOx7fFDBDMrp0qI5AdjDGRbNifJZQ3D6o=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=RPYQSUEh962UYKo5OQLeqm//8mJQOkFelwCZGajDVf25Vmc9LHJbGIjF8PtIhCRvWQFn+t10SI/p397vz7vNmpGW+jBHXhdyhHpXoDb2mUu2QJwwQKsFcUv62pFkQVPwoi10/S00R+P4C6/jH62YqN+yr8jpzpDJA8XQSNBv/7o= 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=iMwzbfWA; arc=none smtp.client-ip=209.85.128.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-yw1-f202.google.com with SMTP id 00721157ae682-61c9675ae5aso23905527b3.0 for ; Thu, 09 May 2024 17:09:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299788; x=1715904588; 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=Uqtc6lb/bjRHtHw2HifamjvJeZYo3Iv/aojOVKqDLuc=; b=iMwzbfWADYzCPMDndmgHFn00o1+BKONgdmpKKz/Wkkr0HLzaVF+J1f3LYTBpjPATO+ 0GPhQWJzqA2gUUTcg+Bmrch6B2+wMsCg0mtPwSgddyM+8YVxwytm6PLuWox3nzv5bHYl 1RMApk+i2xo/cf7eEQ+o/AL47bG/eqQXgxgvlynmEP59kSiVaObm6e3Y8vqpB8mKd00Q skYW+49pWncMcJcj2JYo5kTodhI8irLgyi5+7pV2nM7EyJyuUOc//Jf/yhcbUIS9Q6bq 8oIrnGXkObXCVOw6znLLe+uq+nJg7ys9+I1VpcNjI0iu8k+n1BEK8wvPxu04Hgivfgx+ bdEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299788; x=1715904588; 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=Uqtc6lb/bjRHtHw2HifamjvJeZYo3Iv/aojOVKqDLuc=; b=KMwL6y7GHoDzTFO+qAdajgCHcMcheN+P2/TEvBshoGpSlSJBmnARoLF1w7jNYN0Opa UzF1mAn3vCnd8nY5viG8wR/G/mmarSoK4KbObQ5svtCAS6V63Qp4b6vAcDrScvzEffc3 DptBzQxNu4uTnKSKZx7JMwO9sIq17fKKCv1jCLvZOzJifp1QmtQjy5hHueRHu27pnyhQ pHpdKlkurYSziMfn7vxJ4HDASxa5dM4D4BKVNaIU2tpWCPDQqu0HGgWKQI4Aeiom4/Dy W6tIqFShxTH08UZGMQafaKEsSchFf5rxvziYXXvFtPYB2+CYLwgPP8G3SH6oTjrd6iT4 tgUA== X-Gm-Message-State: AOJu0YxjnuGTzh1tKlU5JH7OGAEosh8jSg9mPwbqE5qlRVrAhRoLdVBg ZLKJgDz49wWQI5DmBFcSQZsS5e9UDjrtifj0es/t/mGvTcoaEYf8W4ibkCuQn2AcMSUB5hR5u0D k7Q== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:690c:6211:b0:618:8bdf:9d56 with SMTP id 00721157ae682-622afffb2b1mr2640537b3.7.1715299788317; Thu, 09 May 2024 17:09:48 -0700 (PDT) Date: Fri, 10 May 2024 00:06:32 +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-16-edliaw@google.com> Subject: [PATCH v4 15/66] selftests/filelock: 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/filelock/ofdlocks.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/selftests/filelock/ofdlocks.c b/tools/testing/selftests/filelock/ofdlocks.c index a55b79810ab2..301c63ddcceb 100644 --- a/tools/testing/selftests/filelock/ofdlocks.c +++ b/tools/testing/selftests/filelock/ofdlocks.c @@ -1,6 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 - -#define _GNU_SOURCE #include #include #include -- 2.45.0.118.g7fe29c98d7-goog