From patchwork Fri May 10 00:06:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13660598 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 846F3C25B74 for ; Fri, 10 May 2024 00:09:29 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id CD3AA6B008A; Thu, 9 May 2024 20:09:28 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C5C7B6B008C; Thu, 9 May 2024 20:09:28 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AFCD66B0092; Thu, 9 May 2024 20:09:28 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 910676B008A for ; Thu, 9 May 2024 20:09:28 -0400 (EDT) Received: from smtpin26.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 377C2A12C3 for ; Fri, 10 May 2024 00:09:28 +0000 (UTC) X-FDA: 82100552016.26.4C0DCA0 Received: from mail-yb1-f201.google.com (mail-yb1-f201.google.com [209.85.219.201]) by imf09.hostedemail.com (Postfix) with ESMTP id 6C578140013 for ; Fri, 10 May 2024 00:09:26 +0000 (UTC) Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b="jZd3/Y45"; spf=pass (imf09.hostedemail.com: domain of 3tWU9ZgYKCK4SRZWOkUccUZS.QcaZWbil-aaYjOQY.cfU@flex--edliaw.bounces.google.com designates 209.85.219.201 as permitted sender) smtp.mailfrom=3tWU9ZgYKCK4SRZWOkUccUZS.QcaZWbil-aaYjOQY.cfU@flex--edliaw.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1715299766; a=rsa-sha256; cv=none; b=UFV6jNddMglead+TuHP+GTLO7pMBfBmEufpwzj6JMJoj5hmHfm85I6gp/YOrMQGyKJckho iEccTcHGU7i7ZLNtNrDotz3ZOtvbZ4Cr92ubnHmGov3H0M2CmadAeApi1tEejerSzaxV4l i+Ug8/plZX1PBu6gSlunZSAAD5c3M/4= ARC-Authentication-Results: i=1; imf09.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b="jZd3/Y45"; spf=pass (imf09.hostedemail.com: domain of 3tWU9ZgYKCK4SRZWOkUccUZS.QcaZWbil-aaYjOQY.cfU@flex--edliaw.bounces.google.com designates 209.85.219.201 as permitted sender) smtp.mailfrom=3tWU9ZgYKCK4SRZWOkUccUZS.QcaZWbil-aaYjOQY.cfU@flex--edliaw.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1715299766; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=320iwINBDe+YZC8kG822TZZWXwM0JV4KQ67hb3vAZyo=; b=tN83YxFpZ5DShd3Y4UXdH0WGxYSHI8lAztF5mCzGXTIfM05VAcAT2Rt7c37F+auEeLo9qz bD5LG3NrTXQzee5zc6TjuryNr6gODj11gIjczd6FKICVqmJ4HDq5ukZcZeP3vTGtbMcDEo wBtGyS4VKHhcUItSqjZmnu7KfVHZjCo= Received: by mail-yb1-f201.google.com with SMTP id 3f1490d57ef6-de54ccab44aso2633185276.3 for ; Thu, 09 May 2024 17:09:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299765; x=1715904565; darn=kvack.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=320iwINBDe+YZC8kG822TZZWXwM0JV4KQ67hb3vAZyo=; b=jZd3/Y453PFuT4Y9kb2pw8PnxIKAzeoZJPT+qUlyRAJY5Yn6sg1xrHi91tIZosjX4b 4jvfLIgId9FuOLcWmRxEnRCUIevLAZlJFN7wL2vgtH2lM2MWTSYHlP4m++UYvaMUfFlO +kLt7v75weylw4V59praK91ITWKaxHLh7FKijx+HYrPCvAogpjUGCTVmHnDSPSfR2e00 4Aqvra78XAGQCM7bj8WCB0scszyaJz6I1/6BN7WbyhwWdU+7iRbG60GFmxq17z9l9l9W 8jJe6DO26GJwA/9x94b/JdonnqwaJwkqipqIawlBs97lvS0u9wlXMuNSyndCXJ4R4lif SyWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299765; x=1715904565; 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=320iwINBDe+YZC8kG822TZZWXwM0JV4KQ67hb3vAZyo=; b=Tir70ScgnXS7ZTCc9q1KX9jeglWSFrbjXgQlJyucoXuMf+nQcaaNCLsYWXBXMdmhdz mp1UQ+svlmbQKIMFDGM2uc5xLzTpiRsNQrgc11TuSusuFXJKMkb5O8Zm4DrxrD1Ldbk6 dxTXZy7WOM+UIy6w6Tn3yv2FzG3PLOnnc3jzJNqPGBdM27dZ0IjEY3oaR2Zdb/Sh8+OY YzCG7M4VwHsWr2dDM5Kash7PNiEKpvHUdM9TMMKL1ng6YXeOv/NJhEnC32dmk4UuieBE ENEoVtVUPRKcAobjQXN0jznG7qz7NRfUNAlIbdxxiHd2D25U4BXaAJmGpZfrCWB+b13W uNhA== X-Forwarded-Encrypted: i=1; AJvYcCW1wgGWj4d5ZTJmnCYvPM9kcyvMHf/FQuy1OjSsLcc19YbYDRe7IoB78dUYAyzt/jece5/ST6usx4kjvHZcKSa853U= X-Gm-Message-State: AOJu0Yze6JVEIPD11qbgeuRv+NoCvwkOVGo8rg0F8YWKliw8YertfRc9 b4rWzZmsjtmbyndYmKWPG0AI1T8ieDoApSOyV1JGptxJhHLQWU55VAsPDKbCSZby6jzfI1aBvyr hjQ== X-Google-Smtp-Source: AGHT+IHhdRVjLPgT9pC+WY2EF++s/VK65ryEcaU+G/FrBzkZfRWKSkfQV4/cEEpi+Hrs8H/1X2Pp5ybXSbw= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6902:20c7:b0:dda:c59c:3953 with SMTP id 3f1490d57ef6-dee4ef7b783mr307444276.0.1715299765371; Thu, 09 May 2024 17:09:25 -0700 (PDT) Date: Fri, 10 May 2024 00:06:23 +0000 In-Reply-To: <20240510000842.410729-1-edliaw@google.com> 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-7-edliaw@google.com> Subject: [PATCH v4 06/66] selftests/cachestat: 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 , Nhat Pham , Johannes Weiner 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, John Hubbard , Muhammad Usama Anjum , linux-mm@kvack.org X-Stat-Signature: bu47m41bbme13dks9wu5myb3bott378d X-Rspam-User: X-Rspamd-Server: rspam02 X-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uasQpxoPzLpe5Rv57kXBbiRMkmVNJr01k5/2Zg45NFj124xH7ZzHIqsn5Ui1WikG/u+O9vxwlassiJZtWUjSSfUUU/bZla+JhA0FEjX2NVddTM6dwEZYiRRoGJjOr+6TY1SwKncibr1beACtJ71yiofPaK3446SuQZNZsz5KjMa5R6ylKIz09LbEE24AOhNyioAbi9jchzaHVzt4KQKY4xGAycEi61OwJN89ZHVUOVSmhHa7H9Q94SClVc8xKbG8H4YKLRB4v6UzEO64ZDl/FHdPbuzdBKlHykz0ElzxEM6lVMTzXIZQ7gze1DoU9j2RBZY2ZGbkNdJ7D5cwO9iMGOMusml2fnw0mH2X/scskvgcWQEHwKeCQ7+tkhp0x4EySpkorUWGaahJ55+FynvdBH7qnANTVNBdQ81sTNqcTLfrbs30kyX+2X6ELksCt5oideMYY3MEqJAGRFMFvynHsMzFbj6LE5nE3kgsIrwG9hEItFfHNQnQ+zpFDczg0yGv9EnftmTluWed82hf7udX2fJvU5/xqfW2kwFY0nCJ8Stlec6nqGqIWALinYUaSAGvtC5NmfJ5+ZRKvI0Ne1dni4W0sVQd93BVFWPi6hNj/N6+9Y5NDMcHAF5m8JXubsr2XQyVNw3X76m8yirgHq3EqeCfNmkAH1+fKmSLk6uU56RtTMxBkAw93C17Gi8jZfTINO4RdImbHeRevFikovN3JKsY2ANkfMxJzT2PCgkwTIBAQPG5691wFUKFvhiMiRLYvN9+Yx4WWqlQ== X-Bogosity: Ham, tests=bogofilter, spamicity=0.007666, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Reviewed-by: John Hubbard Reviewed-by: Muhammad Usama Anjum Signed-off-by: Edward Liaw --- tools/testing/selftests/cachestat/test_cachestat.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/selftests/cachestat/test_cachestat.c b/tools/testing/selftests/cachestat/test_cachestat.c index b171fd53b004..c1a6ce7b0912 100644 --- a/tools/testing/selftests/cachestat/test_cachestat.c +++ b/tools/testing/selftests/cachestat/test_cachestat.c @@ -1,6 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE - #include #include #include