Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp57005lqp; Tue, 21 May 2024 18:23:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXf3lK2CkupMLD9kf+IPOZOjInTAomJL/4cHZTM0sbh/D425FzI+QXeG3MTpoaJPEMEMG+xEP+71i5qHstY+UiP5nZpZfjRS/S0UAi2iQ== X-Google-Smtp-Source: AGHT+IH/QX/SwgtL8qlWl+2aoSEwVznkvhsKkoNLBzoE+Xz9JD9cwXpD6pePgp1t+McaFfgGzTPv X-Received: by 2002:a05:6214:5701:b0:6aa:9d50:f509 with SMTP id 6a1803df08f44-6ab80901bcamr6565146d6.43.1716340982322; Tue, 21 May 2024 18:23:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716340982; cv=pass; d=google.com; s=arc-20160816; b=dE5GV6+bD9PFIYEz4WrZo5CpIKIoNY0ReM+pZBK63rl49UHARcSZn7uoq/nv9QEKVt ljGENnHgQFn/0whsZB4heDmv1rA1hIBFGiPrfJGLK75fpzP9r9McR0siGZSrGNIWH2XA tZgqOo76BGNWg8HWa0ULA0YBSAnyCMprEAdiY/Qx9/CgECCqP2EqA9Nxyirc4DZjNuzy dzsCXW5T/O+/Yc3ucq2sMWD2YiqLBTMVSg4ufCghjsry+2OIZiyxaECSix8ExVdZxn3/ xCdtTuY1Efk9YzxnNb2qG0adW08GippeH7qHNJjlJEtzx6GD00eu30gqGDB9REljgRuD v+BA== 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=wlialQE3WRWR1pwtVktV/TGzvnI/Kx+cCanCgGp3ksk=; fh=3QunbbxwS2krlZ4s01UVMEREr2oOXajYkZa0uMxoA+Q=; b=GauWbUTbW4o7ht60pe1zkriTK5GCqX6iMu03OnJQvETdLVJ3ZvFS26c9BnT3ZUNnt1 bi2bczczb2KNnt7UAO8ogKeeoxlGw6hzZykMA6JI99FmgmbBS24q9jNULhbkHuswUxsR m0ZFAVJyWi8cyqTC0oxPjBoza3O4EUg8WGseXT2fd0smAsjsEBvBgf+nb4iN2Dnaf6VS OMQnwwHaeUhVEBK3qVyncGoowIaB2FrAGfP5sQ08qVWjQhteRtwrE2YbHCrV8+VLeBRC oalPMfvfkJ/Z7g/Z9wk7MF5XG0vFghPS96FW5UBd+PYmdTKz2Rt2Y8zUdPbiJPAZ9N2s Rc1g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=4SDcbe0h; 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-185634-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185634-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6aaf2b4e38dsi55901826d6.291.2024.05.21.18.23.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 18:23:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185634-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=4SDcbe0h; 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-185634-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185634-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id ED62A1C20BBC for ; Wed, 22 May 2024 01:23:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1DE9D158D79; Wed, 22 May 2024 01:02:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="4SDcbe0h" Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.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 F0C3F158A35 for ; Wed, 22 May 2024 01:02:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339742; cv=none; b=ChSuVxXOeyeWRr9g1L6Ukn1hOPstuO+XgvKDKrveW5aRqBIty3syKDzJsRZujlDOzBagHTezxAhOWknHw0DoQ61IfOBOKI41kKbcnMvvVoS+Vzhwyy/7DTnGm94By25ZCj7VkI88wVPYoi2Uz5HqPEtbBd9at9ChPzQgxx1xmZs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339742; c=relaxed/simple; bh=2dSdaIUHKNYU9NiBlewrj4o0rP0Zi7R4nXCaVD5vxM0=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=Tr0c6HpzTKxVX1GSo1wbKWSOUcR9Gall42A+G+xJoKmCousSe+xrrUMSBPxdxX2IZZ2JVbwyeg0O83fVLLgQiIUKyxNth/HxiXv8ZGojvxKtN0N1zNQ+Ufd1NRAMumHQufCepDj/5sT9G2pAXVV7JEJMEAYJ0VKfxIIJU6xHZ5Y= 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=4SDcbe0h; arc=none smtp.client-ip=209.85.128.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-yw1-f201.google.com with SMTP id 00721157ae682-622ccd54587so217023197b3.0 for ; Tue, 21 May 2024 18:02:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339740; x=1716944540; 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=wlialQE3WRWR1pwtVktV/TGzvnI/Kx+cCanCgGp3ksk=; b=4SDcbe0hzncIgFzft9f25PlT5YoFOqLxQm1RpCrUsB7e+NhlSTvilpS4DZm9K91DbD mz9AX/qIxYaSa4QgEV3jCAd1XoxrCXEgFxA2whFOdqzA/9cQNVetH+DgF/27+nXIEx9G pvjXv+sAzaza5oMO0ztavyMwkIEg7xEuVXDkpDTV/wHcJnvHV+iYN0QVmd3WLCZ0MqBh cymV/4Fchs4WjoGhdYj5RYmVX7OO1iFqnmdSuGEa646qF/uCnkNzsBHVTMgF3HGy5XjV cdkV9LxYrSc7QRLcr28I1WZwHOB8nxVhvXCW3Ii1KPb6eSOU7z0OPqqxHm3ZsjPuezUJ 44Ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339740; x=1716944540; 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=wlialQE3WRWR1pwtVktV/TGzvnI/Kx+cCanCgGp3ksk=; b=IZoZo8O7RxPpFcyvW/Kj9G8J6IlOTpxy/tQ7eL0Yy/M0FgKQvywtlduIeOpvo8GosZ D8/z7qEXd2wYEKtInKObALKfCZQiJo782bFt+icezVplTaMPtTgXE5H5qbyr4EGhl+Ib 2EpLkHyCa2f0N4p0IXBB8cLcRiMjQ4XgweIoxc5I2SSVrIfMydy/B/LqGDKMXCtMW+gU MkIRP3DQJg8U5n9FMwNYDRaXsJrnt11U/0zjmaTlNcJyTD3EqZJ1smn/ADYCBuLwh7CB t17KXaXyIs+fVU9iDa7SH27PdQtk4E1BmfOA537NPGfanblQDrsdHaUILtzN1rRW2IDa Q00Q== X-Gm-Message-State: AOJu0YyVeDM13YxnmgGiWnCNx9K1SbkIHMcT9MfSTHtio3OUU303/R66 qt5u9aDZsFySninkdhi3lw4p5mXf2CxW0mSD0hDGnIwsLXTE9NUd8JmsdrGrLU3GQyOun4729M0 dfQ== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a0d:df15:0:b0:61d:ece5:2bf with SMTP id 00721157ae682-627e46ca886mr1794187b3.4.1716339740171; Tue, 21 May 2024 18:02:20 -0700 (PDT) Date: Wed, 22 May 2024 00:57:44 +0000 In-Reply-To: <20240522005913.3540131-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: <20240522005913.3540131-1-edliaw@google.com> X-Mailer: git-send-email 2.45.1.288.g0e0cd299f1-goog Message-ID: <20240522005913.3540131-59-edliaw@google.com> Subject: [PATCH v5 58/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 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.1.288.g0e0cd299f1-goog