From patchwork Thu May 9 19:58:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13660190 Received: from mail-yb1-f201.google.com (mail-yb1-f201.google.com [209.85.219.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 E23DA137758 for ; Thu, 9 May 2024 20:01:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284911; cv=none; b=p0yalHitsya2XfeEkMRYZwsn90DvaDWz8Xh8WYBnnfSI+XyhtX7XhxqbT2ePKeKJ7gQDozIsDN5GR0/PglJKoY+sYVEde8IwjeAwEP6c8QaDL4UnYbOXAz8+7vn5/YdWjtsE95/dBatkmqV67CrT0QHDRCIsbuQYEM5Lbm98xk4= 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.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="qiAYhO1t" Received: by mail-yb1-f201.google.com with SMTP id 3f1490d57ef6-de59ff8af0bso1983378276.2 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=Iooe0InAbmSM5ujp//LRY3Nq+hZ592EbvsOCHQrUvXaDgDKpnLpHpUVU6+eVsJRF/9 5mewG27mP6W84YgJ0AMs8LH5g5F24ZdY11w64neOB+DXBiOsX6aRMqGzua7TkfLNQFtj HOvF5Kq+PZEQLPf1ftJm5G4jFnFWNegbx6AuxFJYmDw0JtavOiNhuU18V1PCDtEjGkUf /tfDmXk0Ci5P9Gf9Pil6pnq6hK2t5xrZXxlm6NfPmkVH0Y4zBsVW0AuOIBIF60aE/wnx EJAYYFXkTjBDQzOpoz8PRxVK6rCii1I3o4A2sLE03cdLokjZONU+W73eElPFl12pqPMG UhQQ== X-Forwarded-Encrypted: i=1; AJvYcCX1D4mU0q/6zSc0/WGUjxbH66UHhov8vKPSKE/n6ejZjf8DKJ0ikxnCm8gmIS2xzbC5XGyqCB8R1qNVrUBU6YldvuWE X-Gm-Message-State: AOJu0YwDTPU40DZLDllHFFZHoZf2/svJgHRwW34+iKygcWQ2EaVMbwaS uqIJVNB2yMcvrCVA1iWlDChYs2nzv/ALVANUgJJqjny+7TiTaIRto7p12DOnJx9A3N/BqRWZiZv myA== X-Google-Smtp-Source: AGHT+IFHb/HuEhyDn1MIUx0fSYkl1rLs5xBYd/7U5k8UOq4+y5dsSBiAfEgu9kUMOF/OgV4z5gWzXa3nqdA= 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: bpf@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_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?= " , 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 _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