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: 796692 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 E1824137756 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=1715284910; cv=none; b=ZsnU0kCkwyyh7GCm5jV/17tzQ/IAzdEEjM+jaRbXEBXOYK3f57HduMvQcvVa7MX3ALdAIVvUW7UHjvo1fVGAgXNVS0T3jN4MjpYsXfhL/9fiQ3/BlLhqPhVDFINZU8WosIweEbp2PWtLXHKtXOw3vAvIkM3jCtECA7qcp5gVLrY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284910; c=relaxed/simple; bh=tiiU4fhVUQEB19QTaOuBcfNutCZqp5wo/ZWaJbkdBXA=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=E1PRe5sHOBbYhXMw59T6PUr5ep8bV3sIaDNczrQJYa4yA01mOOLKeyGhO3fanCwykNJz86JOY/cu4SOaDuFfuDw4IiazX4BtQd1jhMHZvU+Dg+9TIRR+WsPFZk5l9NFV4qcIh/tGMG5OnZYt0unnWMwpKmQpknQpN+hwgLglGPM= 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 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-f202.google.com with SMTP id 3f1490d57ef6-dcc0bcf9256so1999254276.3 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=YKGo9p5VJMKohMMkY8ToVnHfVvod3lJ1UUdalqaIEu9YLCHya9z/wwI9XHQrYQvHul fTg+PoxUarcvRBHiK4gr30TSd8ugPq7Kr+smJBGuvxl6KAqPddfoQyiPrNJQStnDg262 ILoFxYgktcgV5mI6cUHAH9qtIa2KsJwKF6Sj15bIej6SqVxULQOMEBYpArGIQ9FkYg8a S53A8Xkz1Uo9YzkZznisv3IjT/Q5zvP7DU8XmfYR1VwNrTbYPHGtLKd9gdL9NWd6/eB3 IJIy96BCTAswtWmRVOW9ax29zGksTVWQ0J8WgrZUSKvvv+rAhO/T9eNC4UTA61EVG2Lz cuzg== X-Forwarded-Encrypted: i=1; AJvYcCW4YLIfp9mWGYqi5XZTS++RD1uqeRkQwTABxuKq8tXOY85OrJPPyWXBoI5X2yw6AWV1+Ewma/Z24F7uOELeVoaH+pvsgZmJs2KddfP4LLYu X-Gm-Message-State: AOJu0Yw9+6Vf5m4vH0IV1OlRIswxUTTUjIWTTuh0pPqo2oQXgeBeOI1R OuPYUhh2AZSQ1lqgjbHTHmoI2Nd4YYCZGEV9yOgTBlLIk9R0ylOYq+KIcS3fXeaRUk6PSqCQAHW DlQ== 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: linux-kselftest@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