From patchwork Wed May 22 00:57:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13669924 Received: from mail-pg1-f202.google.com (mail-pg1-f202.google.com [209.85.215.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 7EBC6146D61 for ; Wed, 22 May 2024 01:00:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339629; cv=none; b=QjCGzbLLhv2i/6r9627O3l4ra7YLeRKUuT5GhAns3RH41P8gn3rSx88c2AjVsCu8yxOdITsUDxTO8q4412uB5wGYD8eIdjhUrCb7hvkG6tzwSPHDwsvP6MjUj4QoTpp/jnPduPu6kwX4YEFqcHfWwn3LWtSuU7xGsto6OggNWQk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339629; c=relaxed/simple; bh=Ct0Oc2HtbbTeGYqwAwT54uZjMuIOV6TtzJ5jkv+HoWA=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=T4sGZfLwh627ltoSKnIaukHWLDs0+KFdlxxXwcsoJ/wnal/WTEWWAVAEdhU/tys5/wRcb+O/MYmxWfA43yK+3/NVzRZWp4n9A9T4VxdfvWLO4WZ3/SGGYQXlCWk41Chii2xJHJMp3JrBbc8Pg7rjJvozzVaYllzAQ7HbpUerd08= 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=QdTClnEu; arc=none smtp.client-ip=209.85.215.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="QdTClnEu" Received: by mail-pg1-f202.google.com with SMTP id 41be03b00d2f7-649731dd35bso7970605a12.0 for ; Tue, 21 May 2024 18:00:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339628; x=1716944428; 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=DziTrN+GdHrDDu0b2xCQRkg6aq3Bg4PfuS8x+kzAAOY=; b=QdTClnEuyELh6FWkQAfDZZSZCUt2LwbD+85+I46Md6zshsoFN/5Nh11VnXpc1d7abX Hhl5n3SngENyFPSVA8Sjcl9p91ZVPiK1PPUN9Gr0p9v2sVyF7OqOGC9Kk0Fm57L9v58M 3zXRm+6EgCy1gZNR1txWqnVqwAFKo94/FspUA3J+zM5On0o44lZT2FvHiVOf+MzJGZQz ZWgffbCTW8tOyWxQDEDc8OBjVXYcxbF58Ib0QV5zzWLoVFBbv4dDd0J4cQpeGo+j6Bx5 DCSuSHssE7b/zbJLTQldORfYH1tNM+iOw9MKyOcabEPMRfj9qYIkFUsV0MsJcoKvz+ja 9YfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339628; x=1716944428; 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=DziTrN+GdHrDDu0b2xCQRkg6aq3Bg4PfuS8x+kzAAOY=; b=SlDHDK1BEkDSgrcb23Ic5bqX5lHLnhClIuZwOmyOdf13nIVpKNi/z6y7V7akPDbiqS znWz7UmEyWi3Q5nk01BUliEblhnYzBPN3oGGNLdY4GVo6WPCXTlvmML8Jxeb4oW3wilG 6+UrHgCdxGsBakGA6klQyZ4GDFYM7LsFeswaXedSD/jI2nw+bkq+vl9pqqtQJJl5YNpO 87Hf/h6eBKzSuAuVpSnz7drjc1ZWOHHJ+RUzWmOf/qeoTYYwEwpMxsMYN/57f2nV89ts sdIlQxDdd0hAeU17LczMSpIwKn6ZnoOONcFUMXJSD26FssxI01gNgH48/RLZKlG4YwiI G/gg== X-Forwarded-Encrypted: i=1; AJvYcCWkKGEos3UoN2p+odc6FTCO7B6M6R4BkK8NHbcnTXy1+BzGaf/qoYXft60uAxcpXIFFNNEs8r9U52jHZ/8A7Jv32zTR X-Gm-Message-State: AOJu0Yxn/nr74pf9aTP6eu7CWxGOO0EmMAnh6vJEVmPejLcmARS58eZd fPfd5HnTbn+QPVjU5kbfeOkzZJYMT+2kLqEFAjtgr0l4b6JJzwXzx0gASRA8CAIwI1+nc8E9bNy SZg== X-Google-Smtp-Source: AGHT+IFgwS5SmrnU+8gmUbVy29pAPQw7ZKiyJ7SJwcCOOTLzFKbZfEl6jzxNvPo3fpwYrrE3JFhJVx4/2uM= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a63:7250:0:b0:645:571c:52b6 with SMTP id 41be03b00d2f7-6764eb14050mr1133a12.12.1716339627896; Tue, 21 May 2024 18:00:27 -0700 (PDT) Date: Wed, 22 May 2024 00:57:06 +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-21-edliaw@google.com> Subject: [PATCH v5 20/68] selftests/futex: 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 , Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Darren Hart , Davidlohr Bueso , " =?utf-8?q?Andr=C3=A9_Almeida?= " 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 _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/futex/functional/futex_requeue_pi.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/testing/selftests/futex/functional/futex_requeue_pi.c b/tools/testing/selftests/futex/functional/futex_requeue_pi.c index 7f3ca5c78df1..8e41f9fe784c 100644 --- a/tools/testing/selftests/futex/functional/futex_requeue_pi.c +++ b/tools/testing/selftests/futex/functional/futex_requeue_pi.c @@ -16,9 +16,6 @@ * 2009-Nov-6: futex test adaptation by Darren Hart * *****************************************************************************/ - -#define _GNU_SOURCE - #include #include #include