From patchwork Wed May 22 00:56:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13669948 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 E4787C25B74 for ; Wed, 22 May 2024 00:59:59 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 5C9546B0085; Tue, 21 May 2024 20:59:59 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 579C66B0088; Tue, 21 May 2024 20:59:59 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 441696B0089; Tue, 21 May 2024 20:59:59 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 26BB66B0085 for ; Tue, 21 May 2024 20:59:59 -0400 (EDT) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 7E6CB1A02B9 for ; Wed, 22 May 2024 00:59:58 +0000 (UTC) X-FDA: 82144224876.01.8CAD22E Received: from mail-pg1-f201.google.com (mail-pg1-f201.google.com [209.85.215.201]) by imf01.hostedemail.com (Postfix) with ESMTP id B5E3440008 for ; Wed, 22 May 2024 00:59:55 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=YrKxznZC; spf=pass (imf01.hostedemail.com: domain of 3ikNNZgYKCH8hgoldzjrrjoh.frpolqx0-ppnydfn.ruj@flex--edliaw.bounces.google.com designates 209.85.215.201 as permitted sender) smtp.mailfrom=3ikNNZgYKCH8hgoldzjrrjoh.frpolqx0-ppnydfn.ruj@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=1716339595; 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=AWjM7OsrUPOawORB4U9wbeNgOji92nYBHhW5FcjXqmE=; b=Ta6xMLJxNmSXonSzMN0GkcF1pyUKD1GmNTNvHau6OiMy34KMmtGVJcb0OvkS6qJU/rid89 9cqEgLyl6Wbvn7/qyOrQnkXmmORooZK1nrZtYl7TJFN2OaOHZd11HiJLtGynfJ+lr5ETYs yPFjouCRjsKZVTJTH7q4mq4tuggqcoQ= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1716339595; a=rsa-sha256; cv=none; b=PjRUwwM9mHwldUD0q7SgpSLgYk/mekkgp61JaOjQUpiiw5xekw2cV2rg77lXJQe6WmVXC8 nOepa3XZ1YjQIXBwduo5Y2OmVLV5Q5kpFcMuS095HP4Bug6TJMumDxNTndRkT8U7p7MBGo jRylf/6AgoBgcWdxshpyI9acc/wxuco= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=YrKxznZC; spf=pass (imf01.hostedemail.com: domain of 3ikNNZgYKCH8hgoldzjrrjoh.frpolqx0-ppnydfn.ruj@flex--edliaw.bounces.google.com designates 209.85.215.201 as permitted sender) smtp.mailfrom=3ikNNZgYKCH8hgoldzjrrjoh.frpolqx0-ppnydfn.ruj@flex--edliaw.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com Received: by mail-pg1-f201.google.com with SMTP id 41be03b00d2f7-65cc1422681so5443330a12.1 for ; Tue, 21 May 2024 17:59:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339594; x=1716944394; 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=AWjM7OsrUPOawORB4U9wbeNgOji92nYBHhW5FcjXqmE=; b=YrKxznZCibZdsbcwraTqqkSeXG6snAqrF5/hlbqUernsN2ax+WBHWNd3q9wqle02p2 LvFQr5pshdApxspLz5u8dNKVarlaqDm+hWyapZucHJupea6tGnQEwkWsFcIynMiIVGuk LwgkKORR2nVvKJgPFfI9uhhgNwm2Y6yuWMfow/FngZOrLZZu/8IFpIzSTR5N9YGA5zaQ b/TnyXSu8t2yRNRTr6IUHtZIfyyJ/0WBz5ztLySMPJHWX6doLPkO/9qpHDbiZ0Bzdlhr bnCANHo7xlwg+VBlHw3U0ngT73Jdj1z2Fm126s6axmRZT2MqBtccP9FbkCYwNqb4bmWy 7tFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339594; x=1716944394; 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=AWjM7OsrUPOawORB4U9wbeNgOji92nYBHhW5FcjXqmE=; b=YD9WJSYh4o3d+pVYg5dNejEZdymprlzi6gOKnrqzq0eqYrH5YmRihd99tLusdUsPGG 5ogcrtlfA6WZ0y4lfzgyZhsDklPEfVVo3DIi1jRDxLE3wj9NMyJPyXOq1EV65T3b5LsK AokOoJarmsF17YFuD3Ar8Yy7JAwSlvlMw5ardlgvUgwsSuJgCH6DIsOZDkW95tcnn/BA ddVpwWf3B3DjtTW5S0Co8VtOLyfBa45vsm2sSO9TgEb/+AAgtN1tLbDXQBNAe1SHTXo8 TtGaBAD93NJ6zUTcWWbUWH8zc6UOy6v5YTTAF5Lx+cy//0yMtR/n0nqBNJlh78dhDoji kBKA== X-Forwarded-Encrypted: i=1; AJvYcCWzvTuain9zj1XkLqxmvVrOayScdjk1rarNtEz+M7jt3ReWGZpr7kxNaL/veSxqmGcBreTqV8WeC8BatmYIniRjcLA= X-Gm-Message-State: AOJu0YwX7iJ26LVbZ89oa6dGm8hvtFMGLEHUTJ82auPRN+EM82Bs81GL tFV3qLP5+iT9xrXVsgFREEieUZr8KxPKcUQNy+V1U5ooDKeyeKf67X+GVuolif6ZtiReDaBWYMA zHQ== X-Google-Smtp-Source: AGHT+IF+dXCrqU49ux2SHmZgWpvGHIfsSKPUFGkKjMCQnUfR9LpuorqbJFmyzygHKtz1jlIYWFlRGrTJeR8= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:902:da86:b0:1e5:10e5:344 with SMTP id d9443c01a7336-1f31c964eb8mr40835ad.3.1716339594265; Tue, 21 May 2024 17:59:54 -0700 (PDT) Date: Wed, 22 May 2024 00:56:53 +0000 In-Reply-To: <20240522005913.3540131-1-edliaw@google.com> 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-8-edliaw@google.com> Subject: [PATCH v5 07/68] 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-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: B5E3440008 X-Rspam-User: X-Stat-Signature: byuaethk5z71zupf8i5sfsfb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PHir3wYbcCyWvkBgZlW/Ce79qjRyHcp4wtwO9RVEd2rFrBSnpYwa+xeyJvcAjCvBHzRDE//2u7jz8DnQe/XlJfWlrrRcuTZub/KaIpVeEbip+OXkhbbYSbEbHWucNCTGT93NUZwWPHsaXdGQGUiDc739e9rCNhlzAxUjsbOtmcRl4Ax08cjZXclHq0/hFX/L7bSLAklKa52KQ+HTFekGRjoBegmfgiUEc7XZLzeU4gJCmcXG0Ik4K+Pv+rrBU04Xn4BnKs95i+4Bhob0x7YrUIYhqP4+k/uBPqlWDtGVIFXWAP0PrAwika9qJGwCgMIb0duCjIIrMeMRnntJhIHYpEJFQS/FtqR9K3wJjAgeQWs6YWLQgIPQeqmBS3N8nHapDOrKxl74k6OxdUJ+T3yB8THUmU0yboi7mJyb6U2JSgS/wlZ8Z4LS16WZZ2ysuZYcl2L15DpVm0fHGpl4FX087vD+RFwyYrO/L0Pof7ymGtONLcJ+y9VliB50Y4EsYOAcqgLa30kw02DDQUiwnvp6G/BLv+UFCs9Iq/0sPqwP/zCerVnsIQJe1QA88QYU/Y2JZqkjl8A2nTB6Fa+r+0m60bkshW5SBFicJSJ2n+w3lvzWiBQXhR+Dgwqi6BsCzKxo182HupryzabAPoXH8ndScyA0IhjDlzRnetSyUrN3tjkG/EvxAyXCsKAOsK8hj/9VOZ5CI5YDHOB3OwnxEmjGblfwirADtW1B8xlUDuR07aG8nT1Em/cxE9Ydhg3PKL0neg== 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