Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp81994lqo; Thu, 9 May 2024 13:18:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW8UVmKXmD2woHcYDxhnGfwTl+UntBSX7p/4gKLPr7r/YCDaaIzan/7mrsnNfVpC/NXZkC51uV50NCsxn96WOS5c5oeockWfFIfOoU2pA== X-Google-Smtp-Source: AGHT+IGh8uUqOpH9/LRp/KZBiF4b0C3dw/zNDMH0plaxhtodPlc6wi9yxLSFmGhZ9EqQSXFGRHNH X-Received: by 2002:a17:903:124e:b0:1ee:9bbe:cbec with SMTP id d9443c01a7336-1ef4404fd81mr8825985ad.46.1715285927567; Thu, 09 May 2024 13:18:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715285927; cv=pass; d=google.com; s=arc-20160816; b=IGAvYP0B+VDS9ytT8YEA5N+tNbLFPE4cET7idnEmOcaStS+bwkVWew9yJg9rAAxXi9 e71KHSEqru9XW52cDVxBR7IOfY2IZDMnjqBD0aS0VEiRrBCVZcpSQCRhfeargC097nxd 3pSRoE6cILDbJTLIy7dpMQPgpLTzfOR3IbNeZbOG2XBNt8f8BvMpNpvlF6EdhdYnTn+U I+78HvLkzkYYC1wow8KqxiqCSfVA13xCpDouF70JDCfHbwivmxCJ/JNh+KFDMOWWFAIg X8OaB01CtQMBBlbwWyZNVi8teuGWFp7BqKhlNLlOqedW8Yju/LAKjET+NGJaM2ORw54n uyzw== 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=GF53ZrlQPVOZxwMOBywpoMFIkR0/AwW24tB6FwevWMI=; fh=kzlG/cqvyQiaP397Gib2aOfqUl42K1FvipIxa6tHfy4=; b=g6OCeA8P2V1x3xvUjtlmxihwnhck+f5UFObhpCoREOCUXChD4P+2mUzXeGzpxvodg2 PcHoc1nQ1h6GJ9axjPo/i7xvmNHZfCsiyLGZKMCtWIcqkyW+IQKt25jweTsYTqOcFbS5 2KUJ4G0XPYepFkgW1a2ypRkz3v5+7l6JJqsrHVGyVEkMXBYuv6l7THS4Lt/NDa1wL9V4 nZITNKzJMWXyMaj45yiTP7vIOZcVNLJQsTJF0paTtWnAPz9n/TzakiNNB1Ctf0iQO5H/ KqV8rIQT+1fAZ5Z7CCtVp7oskmiRV22OhVvNIw4TqFckn5YSgfZhXeBuhZraXLhIzl1G /+yA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=qiAYhO1t; 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-174867-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174867-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-1ef0c134bb5si9895715ad.439.2024.05.09.13.18.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:18:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174867-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=qiAYhO1t; 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-174867-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174867-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 C98C7B238BC for ; Thu, 9 May 2024 20:08:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AC363137925; Thu, 9 May 2024 20:01:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="qiAYhO1t" 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 E1862137757 for ; Thu, 9 May 2024 20:01: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=1715284911; cv=none; b=d0784yEGRBJFIJSR+9O7l5sNDSxBLkFavT3qyQtg6G6gG/yLPLfg+GgVQEw8Zyrs3e5YUnMz5W52uAFRCXcrlpZuRRjHWmxfDoepWOCkDKKD0UoLKoxcc0zJSEWugBq4Eg+HUQl7O5Vs7plGeg2m2PlySqWfYhLaJovJLwkSzQI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284911; c=relaxed/simple; bh=tiiU4fhVUQEB19QTaOuBcfNutCZqp5wo/ZWaJbkdBXA=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=kzXWDwOMNNPP2ClNxxq3FVqZ8moASOIjVN5+6NgzVBRuCGB8IvC7K2CMFk4/hWOrxnSq42AmaQ56PEfnaimq3c2NzQWgrFpgg5dvlCcwp++cGaDlHJTcObiuiBxHza84q8lMb7sr3CxCgRLRGcM1otKbDhOPBDYVaP2s2uz/0iI= 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=qiAYhO1t; 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-dc6b26783b4so1726318276.0 for ; Thu, 09 May 2024 13:01:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715284908; x=1715889708; 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=GF53ZrlQPVOZxwMOBywpoMFIkR0/AwW24tB6FwevWMI=; b=qiAYhO1tl5GQXpJbW8G2fyAV5/lZThRXi0M3Xnmqj16qqPWcevzNWJsEDcC8JeW/rN 6kkHVngcEm2utU+ZIAtuA1Kk5V4qN49z5n5B5hOns3+ksst+ZCKpOO8lS0dYFF7fvCM/ yYoDaFVraaSHgSdZ5QfDV1wVu4tr6cbCIO6YAlHOSepnHOIUhtU2fnau0b0MVzVExWVi vJOrbPnbotFVA6kT96Oolmw+DLCgvJ/2SFzPMxgSBY/k0h/d9rQRIih5pb4unbxZbcR6 aiOwg7aVIzL/5C9DeHLZ6U18Ct90xk27+1UXyhFBZje4i6H70wDILL5nHC48VneKO6a1 bjRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715284908; x=1715889708; 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=GF53ZrlQPVOZxwMOBywpoMFIkR0/AwW24tB6FwevWMI=; b=xM2IHd7Uxqtdm5UmIeP8UfYrO0jaczt623Jk/9A6/7IzgBYUUeMyE9MMDtTwZLDq4u h5HgygOZqHrqb3vvTolSsXTaIo/1Y7GMzJBiRiA8ikd6ePDuy62DfRfM7K4UL0BlVNGm 1nnxwsy2Ngqo9ObtLLgtVYRWIirUkYtN2B03c2OH7cg3JkJ1Jtl1EgTkEsb5zhAr6oL/ 5421XipXR61ArQCveo4NXSBUe2cBR6XSzlz6rUxUbhiIB+dtid283c2uW7QA1aBfb+gP 2QIPq8/qWW04SKdAtt8m05ZjZaYl1GwYWiT/CCLpmAr4fici9xQqXO9TGXUoIf8SeZcE ZxrQ== X-Gm-Message-State: AOJu0YzuQ6krRYgiH3wQXcqFvkk9qw48xxPGARyNmXid5pZRQvxeJI3U 5Ng6HeUiGcu2vBaI6FWbYUDHp/rLGfNjaa8uoZMkFMeLeZ5cfLZGb279JmncY0kmeJgr6S7URGG F9A== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6902:2b0e:b0:de5:3003:4b64 with SMTP id 3f1490d57ef6-dee4f1b28f1mr63511276.1.1715284908019; Thu, 09 May 2024 13:01:48 -0700 (PDT) Date: Thu, 9 May 2024 19:58:13 +0000 In-Reply-To: <20240509200022.253089-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: <20240509200022.253089-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240509200022.253089-22-edliaw@google.com> Subject: [PATCH v3 21/68] selftests/futex: 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 , Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Darren Hart , Davidlohr Bueso , "=?UTF-8?q?Andr=C3=A9=20Almeida?=" , Muhammad Usama Anjum , Andrew Morton , Edward Liaw Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@android.com, linux-security-module@vger.kernel.org, netdev@vger.kernel.org, linux-riscv@lists.infradead.org, bpf@vger.kernel.org, John Hubbard Content-Type: text/plain; charset="UTF-8" _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX") 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 -- 2.45.0.118.g7fe29c98d7-goog