Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp87998lqo; Thu, 9 May 2024 13:31:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUjipEpIsKQ7xXWfINsB0e8r21XslUjNfVHG2Y40YUKqyuhp5iv7LqaVCRhKmkxSdhy5idMqe8cXyKqrFO1TNci7qUwM8yHoV3xXJo2Aw== X-Google-Smtp-Source: AGHT+IFSz3PVwQDN+dwnh9QBBqHayZNyvs+dhlcdOjSGm42oDh6UDLUTeRaeiiTKCfonbeXTum/x X-Received: by 2002:a05:6a00:391a:b0:6f3:ed26:e4f5 with SMTP id d2e1a72fcca58-6f4e0299651mr578908b3a.7.1715286698813; Thu, 09 May 2024 13:31:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715286698; cv=pass; d=google.com; s=arc-20160816; b=z/pMNiIO1K+958HWHh9JotH/HvzDi+j1lYM12TR/Rm9bMdZ6nj/7lcynm4ElMYoAh8 Xxhy0ivdhzsjRN4hCa4W5jT93cD0yV041PfXm6htEZi/Bm35FjGsyLxd48cqxEgLSgdd qWVfmxoynlEb6gRst7rTcG/y4d8XyOfWeSwghq817IN59/h4yNgnJl6AmyaIilP3Ps6b BcHRlBz5irkHo2e6scvoPDELtKyaqzy/KWJdnD0PCBDkeXMBtvGPOVjYa7BodkMoVw6r qz9vRnieNJDZm4XUD1cBkZvvoeLdHITyiCbsmR//ngCrV7JtpFcEF47DENC6IosO4i5x CEGw== 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=m279s+e6M30hZxl/PZzqmSNhzRgg4yVrloVP9fngHJo=; fh=rvCPc9UOQNnTK8r6Jz482ZjruUhVhSffIhRjFfCnh7M=; b=RmSA1pbzjHc0nA7OcQlJVmyomIoXwtVqfdkw29X4k9QPKdyqLiHJpX60HCEzHhsYjA Ka7VCIK7tRCmUO4wzbA6TeFLTfVWst37fnE0kbuDQIHk9VqUM75MJvL3ZfM+A3xi4izh bOU8cmuiqPHddaVsNGKEOQNYJdCK7bf9STXKyJ901I/RP3I3+5KAQr1Fwh5zppZ1PaJF 8LXGs6eKHvGRAgvLM5o6noQNraTsxMKn1YEw70F0+abl/c42OxhhQCd8creBZt9XRKDr jBwuua9plNiMylUlw16W1V8DYKXJq4wDxBIWoUS5uHa5RgwQkhska1lhIK6pRMBOlQbc Ch3A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=gRxG1DeM; 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-174886-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174886-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-634103f71d0si2120279a12.417.2024.05.09.13.31.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:31:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174886-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=gRxG1DeM; 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-174886-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174886-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1C92928B22A for ; Thu, 9 May 2024 20:14:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1B3AB13D88B; Thu, 9 May 2024 20:02:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="key not found in DNS" (0-bit key) header.d=google.com header.i=@google.com header.b="gRxG1DeM" Received: from mail-pf1-f202.google.com (mail-pf1-f202.google.com [209.85.210.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 DFD3B1272D6 for ; Thu, 9 May 2024 20:02:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284964; cv=none; b=uFsPg+Y/g2Sk/L3HydSzHlOQcmTfOY+q3TadCl84Xr8WQVflCZ7zkX6qfIaoxXKNcHHBNTCK7nYjvVgDXGT0peCYucJsOqe4tz3WGO/oYcHiXYoDtR6FsNkXCkzNBOtBr7Dr5oYhn99OrI/rmj9V3T5GDTFw2CyGu2gN1sb+iUM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284964; c=relaxed/simple; bh=DaG/27qWh2/JZ9Z87R2vLxvxszcgvyNhPpNxQzRNES0=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=Bxugbmpv4LsO5+NaCC6Up2alRHN6zjm6ZOqy5WEXTeKofxYR+vx0CyEH1jt8N34mTpHp91Ikrn5fvLVEeGYllfO5VwGLz6jyijmHdMMoP0p2xceVVNuRTbjNJ+0y1D49vjoKpLJYiopKgMDO3BiKkb6Btr8KCwD/GnIu2Smg+88= 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=gRxG1DeM; arc=none smtp.client-ip=209.85.210.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-pf1-f202.google.com with SMTP id d2e1a72fcca58-6ef9edf9910so1233789b3a.1 for ; Thu, 09 May 2024 13:02:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715284962; x=1715889762; 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=m279s+e6M30hZxl/PZzqmSNhzRgg4yVrloVP9fngHJo=; b=gRxG1DeMUp8MWa0CV/ABlrv1NaJpJWM8QNLH0u1SYQcBEzZAeB9HurZVJwxcvmVBgA aLYX9G/JKMVGwGT8mxD4d/XOMON9M98ZL9LiH+oppQ/AX48EuCUYcvlmx24ulNKeFLP5 6TTHz5D0P6ItdykHyqqfpGWQssUBTWypUqtsbF8QtWDI3eN/i99l3bMKRCHI672xl+G+ sEVM+ekmhFbnX+T88nT57hMlj7NiRYkiKRxr3ceyVh7CgmCl0PMTIENtbjrP2zRwda5c 3X97rgOWbE9aVqR22aLfu+wH8Jt22/HHbHi4mmOZeUuJTjxykUu6u4PM1Ajh7pI8B+nR oUkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715284962; x=1715889762; 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=m279s+e6M30hZxl/PZzqmSNhzRgg4yVrloVP9fngHJo=; b=JZeM+7/OyvsRMBJjQtNrA4enMj/2mRgkMeMyQJl5wUhFIYKpbb3LRUFrxO8PVXJIe+ nv8HcXD74viK6bYr/lw+4iPIJ3CCqYIaYMIjan1+bxGEyS8dmcXdejv4AJwarAVgxKr1 bgu80f4FeFz+9UHEkN6bnpLTXs2rhGB7X40XmJTb7wfb3+s4OHySizFFT8qJ+UXVlBbz kg2vhYiGhq/BpDYzfwRZht4lYaEiHEVso7p9lSD4NUuywqi7RWDdbN5ZxBNm82zXJ7H/ AlbclMmZ+PusOktX+vmpP/HBTLUR5Rn6OxMKcbNm+0Av+oM/Y99A48y5t1DikMJ/ZYNc 1QMg== X-Gm-Message-State: AOJu0YwjnB1wlmT8SYKEJ11b7rFW+a63DYHA94qJYKjfq2oLm7VTPmBl PFiK+bv8xhBXLzbE3xIOfnSZarOyIz5+W73iZAKIEhek8bJyquOkgy8QeLM6fonWx6qYWPNJRzp OjA== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6a00:3a0f:b0:6f3:8468:432f with SMTP id d2e1a72fcca58-6f4e0373b47mr9098b3a.3.1715284962387; Thu, 09 May 2024 13:02:42 -0700 (PDT) Date: Thu, 9 May 2024 19:58:31 +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-40-edliaw@google.com> Subject: [PATCH v3 39/68] selftests/nolibc: 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 , Willy Tarreau , "=?UTF-8?q?Thomas=20Wei=C3=9Fschuh?=" , Andrew Morton , Edward Liaw , Muhammad Usama Anjum 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 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") Signed-off-by: Edward Liaw --- tools/testing/selftests/nolibc/nolibc-test.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/selftests/nolibc/nolibc-test.c b/tools/testing/selftests/nolibc/nolibc-test.c index 94bb6e11c16f..a28813f4367f 100644 --- a/tools/testing/selftests/nolibc/nolibc-test.c +++ b/tools/testing/selftests/nolibc/nolibc-test.c @@ -1,6 +1,4 @@ /* SPDX-License-Identifier: GPL-2.0 */ - -#define _GNU_SOURCE #define _LARGEFILE64_SOURCE /* libc-specific include files -- 2.45.0.118.g7fe29c98d7-goog