Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp188566lqo; Thu, 9 May 2024 17:32:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW76lRwHjher1sZQiVnKNuNF9VeQj7PY0xOQa5a2rp2eKLgxxLkOqoNCIuGHwh/B79ZJju2eFUYoXnsI+uc+PgBEXojH+l2H67Y1iXgFg== X-Google-Smtp-Source: AGHT+IE28P8nM7UJ1xeNz+kSf4v+/mgbB1ShOQOpWcPQwf4lFQ84MxV2lMB9AYtQZT0BhRkAdin1 X-Received: by 2002:a17:90b:398:b0:2b2:93b7:b7b3 with SMTP id 98e67ed59e1d1-2b6cc34157cmr1121488a91.10.1715301146697; Thu, 09 May 2024 17:32:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715301146; cv=pass; d=google.com; s=arc-20160816; b=e4IIrockGRqbNG5V+pB3ZF3Vjxdemlk5lwjjVEe8X9dIfK/oqcpkWe00Twwq7Ajr0x i9jS06Wj8h0xoOoVh2PNCK49ICKnEFhVXSBrbol0m2g84MVtfS/l/I+AtAk0eImkAxbB G34pqNyMXH/GRGP9vJTfbyI8mmbAqpmFeM4XY0j/ndodaGLItxOkLl+ppdhGE8gzKPWy 4Rj9B3q0Qba9o0Xc3qCAg7elVSZM1EOwh0LnsoWMUpsHCnabQGoWNM8U2IUa2Ih7dwxw KYtKAqtltxZEzV97dl9hjoLoMSP3TaarAIcuvUr/NPEwBLzGhjyCQjcNksQs7HWFG5tD d8zA== 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=GO1gcoPElveUSPvl43PtsRVjcacyZcZsNQYTuVuo160=; fh=3QunbbxwS2krlZ4s01UVMEREr2oOXajYkZa0uMxoA+Q=; b=q5FXQK3cmJxmkHFxuvChA/TAL7rJoTqG1iUR4w6eS3vRG4zooRlewWErxucgkBS61j Yv2dCGtBthw4OcKWi7gX/SEjjY3PxuZjU/dsAGEARd6tj4jqkASNrRFWXAIAYZmiU9Kt wf/xaxR2zDf4Azk1diMic9a89BDl+1so3LBpD0neWGFWuBgqy0exnJsIBVv6khYTgCgn 1RI9jSQVoXsAnbX0bu5eZSFo1wcaU1ZlGV0GifjIW5F2iFgloBSfpq0MRaU9KxwDk1hT tigoNrxci+47HljzJNBEhxXiQ+G6eF5rWBMw5bHeX71XLOGowZRiscPc0WJp0YKGhY7b IRPA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=cEPIyq+z; 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-175154-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175154-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. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2b671589dc0si2513109a91.146.2024.05.09.17.32.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 17:32:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175154-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=cEPIyq+z; 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-175154-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175154-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 3E67D2847E1 for ; Fri, 10 May 2024 00:31:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9029C13AA32; Fri, 10 May 2024 00:11:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="cEPIyq+z" 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 5298C13E035 for ; Fri, 10 May 2024 00:11:49 +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=1715299911; cv=none; b=sB0Hhab5CRX2QBMtRVzO9pU0+EeHynicKjkKXEHf3tmy15V+gRbwia0/VHk9LFHxXTy2uRlGroGv9XN/EH+PfbINkwnRiUA5uKo/sIubK8SpP5+zBjg9LErTdd/qsYgE09ey1AePqTerqIgX08kG4u5/lSFb4/K4Pn+h2wcSYno= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299911; c=relaxed/simple; bh=RSI/JrDkqeLiFXbwGZXmlplREYE9MXWOTM+xIBMUD/I=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=BgMTZOpZIKXo30BmQ6bG/eeaG4WDlt/mT0NAI+xH2wRSXUqEygLfqxmn9IsIq/2ioUhw18F/Hd8S6VVFpeRqEKPSfgeqNT6lmIyBJdxpwS1/MlxmX2bQfg0wpwTwljCJafoNu1RWPyHgtIwgVIdK6c6i+iGlmNLM/PnMd47Jalk= 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=cEPIyq+z; 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 Received: by mail-yb1-f201.google.com with SMTP id 3f1490d57ef6-de61a10141fso2092389276.1 for ; Thu, 09 May 2024 17:11:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299908; x=1715904708; 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=GO1gcoPElveUSPvl43PtsRVjcacyZcZsNQYTuVuo160=; b=cEPIyq+z778gY3NHPMSB53kuYDT60IfQ5i+6Y+mHRJF0u4VfuYZZol4oiUQIeE4EfB MPldSRUBGd9mjoruDzOGo07j22I6zbNpEJaelnEtOpsEJhQE6JYPUt7VWygEoEfY1+8E H129w04PxpBdSjq0JHZpT56A91qhIPI2y5p2NiNDCyEa7zUkqxbehoG+vIAmIIZdMdCF IrSdyDCVialv7mcpUelVzm75hgIiRpJNwIrRDTnw0EbajtPDNKHzyIFqSHzuhu5KGe+d B/baRb7zUJdDLMQEyJTj0BsMsG+0MTXRUBef8ep9DYIaXFpBVp+c6qmoC2ptO2Zpo4qK cRuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299908; x=1715904708; 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=GO1gcoPElveUSPvl43PtsRVjcacyZcZsNQYTuVuo160=; b=w2AyxoP1pO/3adR2eSjKOq6evfLIbK84u2LpInzGhVcChPT6nl9FK41I9pCZmY2n1o eQMfnw1NMAAI1G82dhIftlEECUm5Zogm9anbZatJFHrzMGomoiDeT2/7wQ+mDQwUnTw7 NBHsX3RnuEu41hwo7AbE0BhwjaoKjqj1m9eKXkbUBamAWYY2sK7enlbXNNvz67fq7aKM 7gstZHyDnRJ9fY4Yu/pEf5Bq7afXppM4stE6jOJIqjthUq7zwy89O58cIZnnX5Bjo+AU 8y3RIvlME8nKgyeWts19mOb4ziAObJJ2w6xddf0k/ckA3a/YMIF+UIcwGB/28zvsGCwu QWdg== X-Gm-Message-State: AOJu0YxZLQrchoA029Zdkk8c8aGi8JaAWZ6s7iqqCd4EXHA3VYm7ejOG 0Lq8Uo7Yy5zhvIT9RoyFEh+vPgjj81NBJV+5tX17rOma4mt2GbGM+vc6Xibww2Fw4i80Nls6aI+ WaA== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a25:1982:0:b0:dcd:2f3e:4d18 with SMTP id 3f1490d57ef6-dee4f364f84mr105630276.12.1715299908304; Thu, 09 May 2024 17:11:48 -0700 (PDT) Date: Fri, 10 May 2024 00:07:14 +0000 In-Reply-To: <20240510000842.410729-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: <20240510000842.410729-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240510000842.410729-58-edliaw@google.com> Subject: [PATCH v4 57/66] 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 Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@android.com, Edward Liaw , 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. 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