Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp83725lqo; Thu, 9 May 2024 13:22:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUf3nlq+mw6NGRNJeUbY3vptn5iiBih+fE8CMeJXSvLkO0YE+3YEfgeqAxfADINBFsgqFw4n67g7zTATB/1TocINQB3uKMcykwqHd/E+w== X-Google-Smtp-Source: AGHT+IGS3c136ETR9dQsZQiUI5JlloCM6Jr/yp8d4yQO1qxvbLtXa1KLCCrzA28DNwfEfdIgoCIe X-Received: by 2002:a50:d615:0:b0:56c:522f:53e1 with SMTP id 4fb4d7f45d1cf-5734d5d13b1mr649030a12.17.1715286164204; Thu, 09 May 2024 13:22:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715286164; cv=pass; d=google.com; s=arc-20160816; b=0T9vCFRO4HMXkj/zkoxv3TmfDQc39JPLwROh5m9zB/HhhgF4Qr68JHPV3+zzWGW7EW QAH52uWoX3V2Nk+JSZPGZulHjWFaD4tsvAs2o3UPRCuJIm8makN7qrHtnXiQ3I8/925k /kt38dYZ+xWRKt0P1zK9sAm4xSjX78FdDC5jnRRS4EKfHuqbvMjSt6wKD5b5/Y1IYddI BSS2iYa/KR4Tz9HyRo4Jzb1yN69MGBvRgV5H7DCiH836LmCehOlM4fNHGg5d7g7aJzoa 8TszcThiaXqdq7GxfDYgS6xSt4IRDK+yVUG9/haRmK6fKJ1dgSv0qQj+8gHqMnSVhoGM lnvQ== 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=CVdUVqzWYmb3RWbqhYAX2sm5BvszkqdFATAvwhSxfi0=; fh=Vg6AZ/XlVcVU/NPu9s4ouwJ+URzCpALfRgv7nS4ACws=; b=0oipgl+6CGP1T9GdlmwFtf5+RlQcNq98wqK5jkRTHT6BPGla8ng9LR+vEvZwu4+iiP BNc/iMGAE7s5LS546uKOed+Cw8x/boGOas6PsKLpYrEi2MsjBu+G+1OEGah8pYES+C5Q ReXmlpTKDS/cHfol3Kpr95rvlZYL76OBS54XjYN+JiJDgbhOewSsmq9UWEkLYTeqfFFt 8yinAppWtXE+gr2o2noE5Ei1ukWBPRA+4vPSdHXyKbRpti6W9WSzD9NTgp3RBpVD1Trh Y8hnSHjhasl+b688cKUTImPzXSdj/Zc7Gb4slYiw9vJCVK1XgbuAhdnxHx6G9dr+nBQA Q66Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=3zFawOBx; 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-174906-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174906-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733beac6c4si1069039a12.107.2024.05.09.13.22.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:22:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174906-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=3zFawOBx; 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-174906-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174906-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 am.mirrors.kernel.org (Postfix) with ESMTPS id E19001F213ED for ; Thu, 9 May 2024 20:22:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6CF75146019; Thu, 9 May 2024 20:03:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="3zFawOBx" Received: from mail-pl1-f202.google.com (mail-pl1-f202.google.com [209.85.214.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 3F816145FEE for ; Thu, 9 May 2024 20:03:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715285020; cv=none; b=m+M4EKf8puKvkmlLU7QqkkyChxd1BHM1knNV1eUczPWKM4uVgcQbovbAM2r+AG13cVkVji3Sbf4sMlp5rK1rCN4pXRyj7cSHawQfT6nwa3FuOCqatHbw9cGh4SfrfIrcFW+U2PowaPfp4IHMyEIZs38CO/IO0hLROWe8PuX/fkE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715285020; c=relaxed/simple; bh=dV1o9stC96OSdaZmBc01Y9weXsxVFPyOQWHKjWEiAeU=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=EmpjfPtwZ0FQCAcdEXVNCyiSsMIxk1rnmMuvxaZOSBsQz9Q7cNYxev51lJknNS0mTczmFzdoWNtFS4+vBGYip5y98tYDFos/x1T7H5PWViXhw32Om8QeU3Ed33hh8bQtBtwQ25coWbbRut00juaUTG63bC8+Bff5bx/QB2obQ94= 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=3zFawOBx; arc=none smtp.client-ip=209.85.214.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-pl1-f202.google.com with SMTP id d9443c01a7336-1ed8876c40eso11958435ad.1 for ; Thu, 09 May 2024 13:03:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715285018; x=1715889818; 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=CVdUVqzWYmb3RWbqhYAX2sm5BvszkqdFATAvwhSxfi0=; b=3zFawOBxTotd4Jd7OPCvrqlkgD1t5aw8/tg8wsHqSbIdpCHIWizdPN3yQacIiotoE/ oE4QH1lT6ovkp356Z5+8dF1Xgj4xFGP2R68nW1zDv2hFcL7JDbyK00TQumwD6tX0LP6n m/OzvsW4wa/lGIxkpIWMAw4LgmvOrSig87+nJg+U9rKvnvvGHgKqE96DIRsSRCTW8Grv Sbfwc8vVGBmbnYpgcQzU1VtikW93UYTC+QiL67yr5gDg264HZSw3LKygUPaEyEZWbVNI YpzViJosGGvGQDYRxIzDo0P1sPOBvxr6lIKadOYmSAbVWtX8n3GwBadB7TAGcTZkYuKs Utwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715285018; x=1715889818; 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=CVdUVqzWYmb3RWbqhYAX2sm5BvszkqdFATAvwhSxfi0=; b=N1EVREPVlJNyEtcPtXXg17+vrRbs9dE2LtJoMmb9ZmeAd/mwYk0OCyUsbocCgKbcOS pt2YxlH7IWphS+2c0wJHQCi3UP05p3yjoFSQ2/oXxFYwTjv29eRA1LqPCAV5/Z653aoY AZDVKbgN48UERwGJXmmezmriu+RLos3XTpw5fxkDo1SIMbrOPfbHeLadWC6dxfV6Vj2R PnydniyLkI6iV5dyLfU5kRY8Y2KnzPqalYsDYkM65h4P+rupEc1ngKH79eTpm69BS1Vi lmDw08ZvCbgN4XyHW1yGPEA4sct7REJzsUx0JJm0dDLkVmXu1ACRDPeZYtBG2qatArCa Mxiw== X-Gm-Message-State: AOJu0YzJT/decWxlB1ENbyrC4z181TnlZAu99m+qQLI51aedv2DfCNNJ OkMyvqZRuvkYePc3qW/ani4j1N/JhnnEom0wlhNUVpqqwCReUrnnE3HKQaalmyTXMzKmtc+EleN G2g== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:902:ec84:b0:1e4:3299:519f with SMTP id d9443c01a7336-1ef433db6a2mr390305ad.0.1715285018542; Thu, 09 May 2024 13:03:38 -0700 (PDT) Date: Thu, 9 May 2024 19:58:51 +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-60-edliaw@google.com> Subject: [PATCH v3 59/68] selftests/splice: 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 , 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/splice/default_file_splice_read.c | 1 - tools/testing/selftests/splice/splice_read.c | 1 - 2 files changed, 2 deletions(-) diff --git a/tools/testing/selftests/splice/default_file_splice_read.c b/tools/testing/selftests/splice/default_file_splice_read.c index a3c6e5672e09..a46c5ffb573d 100644 --- a/tools/testing/selftests/splice/default_file_splice_read.c +++ b/tools/testing/selftests/splice/default_file_splice_read.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include int main(int argc, char **argv) diff --git a/tools/testing/selftests/splice/splice_read.c b/tools/testing/selftests/splice/splice_read.c index 46dae6a25cfb..418a03837938 100644 --- a/tools/testing/selftests/splice/splice_read.c +++ b/tools/testing/selftests/splice/splice_read.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include #include -- 2.45.0.118.g7fe29c98d7-goog