Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp180982lqo; Thu, 9 May 2024 17:12:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWuXOhB7iJPL8F8lik/WcbCUY7H0+VzuW7myTSnQiZKW/Y/kmld5qZWx9vJ5bKnR8YWMRhBMaRWQNZBfOTOl8mIlvwbg2Kj174yhxv4Bw== X-Google-Smtp-Source: AGHT+IEbaMnApTOHI3ptu6BZmRZ+JBo1/CzYt25LAFjJr/4ZBGJgk30h2E5vWUHR6sncRA7iybaj X-Received: by 2002:a17:906:3412:b0:a5a:1b61:d94d with SMTP id a640c23a62f3a-a5a2d536966mr71178266b.3.1715299931111; Thu, 09 May 2024 17:12:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715299931; cv=pass; d=google.com; s=arc-20160816; b=BgDZa3Eof5qQiI9upkooqJXm7ZsFU/gFdiYUVFDcGKFq7xOjkUD2Vld1Us2wRagykJ r5yP56B8XyZpOKfoS9O0cYUmpSPbZTPyU6RXx7LnQEnAaVRLyjigpnyghVW0q+GDAMUn Z+tKe6aIc7/yegL76Ke/cWvJl0UaeVYEKWuj7T1y16rHLDQdlChFDKY+HmUOaPSS1ZZv Ue+Z54BiyI0M0LQFA/SMhd8cEOptq9/fCbZtjoTNv7Iu6LYsk4hYnnOc0snhMFVh5Luq SlodnkmVB6GzMtsuKnJ8fTkL6U3rII7hG6O6AnqQ89oK7yf4J6FK9qNWQibmbiC9IFXs g9pQ== 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=320iwINBDe+YZC8kG822TZZWXwM0JV4KQ67hb3vAZyo=; fh=Ac/znJlgqZtq17Zv2c6ZNyIbPkkGFaDCRAsL5pZaR7Q=; b=sBSS6od6CgXp9owMuNo/gPBlf2UQzyFfqPTSFRr4RtKCxSee7qRclX0J+u/JgXSsif sG+SHTYSY+nufVcVN6JncE0EiuWIOAT0iBDPkblvRFPyOcTSokuuQYZRPLa4SVaVgA1/ ZqSiDfVD4LIXYiD4PBBf78Oh9kt2PlO9Sy4TyWlyy5lsHplew5G/LzQoCuhtEen1eGx+ LvsXfgFerFflmzafHuKrwy79w/l2DVzikUeLTzYWtOXnS63KpUqNTHK9HAYBy24Oe8hE pLps+rJHVFa2hFza81fQzfr5cD4ZzCknMPOuKXVQVWbRz/GSplzTW73s+BM5DmQkRsJ8 aRyg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=YGhA3OJ+; 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-175102-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175102-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 a640c23a62f3a-a5a17be6466si136728166b.750.2024.05.09.17.12.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 17:12:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175102-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=YGhA3OJ+; 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-175102-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175102-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 D3C461F22DDE for ; Fri, 10 May 2024 00:12:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A65203F8FB; Fri, 10 May 2024 00:09:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="YGhA3OJ+" 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 41F12282E2 for ; Fri, 10 May 2024 00:09:26 +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=1715299767; cv=none; b=lRvoNyxC6RjzMg+mzrjkgAAryMBhvoj+UqQUZvvzPZhEkVD8U+WQjiWcggf7mUlSCBS9Vn8LpZtPwfjH5d37Qqc6xJtTzTdZM8fzHajzHhUPOKEOx5RNy+sECyaGScoiW4X0ob2v8UJxHjRqsh+p6NgiX4hVIFqdZLXA1NdWBwg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299767; c=relaxed/simple; bh=GBCHtpCNZgGcVzsMNRMUoXk8ZNVoZVPhM2UaZwCtJ0U=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=GqcYh9CnpzCJU9WKGbLDzYw3m3l2+IVkMsFqWC4Xkr9IpvUnjpkLtg8a6g428rbKvml6Kt8Nkp5LZUKje3/grtXLDvgV/YBzC1EU/z9Brv/AC3cy51B4kLskLlLhPvU8RyMe/p/WJfweMJ1KQnqmeSBWHjt5dWnCJWEkFgnbOyE= 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=YGhA3OJ+; 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-de57643041bso2464038276.0 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=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=320iwINBDe+YZC8kG822TZZWXwM0JV4KQ67hb3vAZyo=; b=YGhA3OJ+f1k/Hy3oTUJ+h+wqoX8rf63C7mTjhTi+W917EBcIi2lzxHQvKyPK4nFN+X RbFix2c4omSxLF/4WEQouTEfV9McpUedMQiGTF4Cp+38BUbpQjUK4A30EjVpfgHAxvaM eZIoK9P+Hq+mbRbB4ZwOaGhbc/cHcWFr+ZS+rHzniGOCff2wLA2QZpjaIVvI/RMnr29M OHboW9AdZfQL7ult0VQdr2q3wF/fHl8T6gVRCwY/UPNbDG6oswT/9D6LEc9ju77SeWy8 LOmThA7iWDAK6DGDd/+slFJ7xYc5zsbRAVYefo2sxHvlKvCXpjrtNpJvWF41BJ5Tloan DCVg== 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=fh7vcSNfcLWsZXPV2fdahSwSqEkcAZcaBAcAphnQTqBPvmGuZDomlhn+wljt4VOAZn oidkn2UoWzzOnceToD8kbqx51V07cG9LDCM3KtSFhLStwFHZ1W8AoWZDUbOy1FP9+x9R ELQCo3H42opBr9gi9Sn0VOL0TD2zn7lmWaIB74mHoKb4TnrzC0LJ+plwtanVj/7ktlxo Rk5FO7h/d9/o76koyP/8aDp3KckBkgYn7KkyUm2PNbb6tDAKg70JbrbsQngSy1dA58EV IGt9eJMlNkpHyH4ExGqbRX//Rt8tXtuvFYpmV80rYFrrd0O9mWs2PJI311lsP89xvk78 zp5Q== X-Gm-Message-State: AOJu0YwlQnW9dgVgUF7KM7eXbuEoA6nouy4JcFv86wMLET/kYHCue0DO e3mzgNBRwKad2P4Aq1XfwQ2V/JEmIOIrGFT3jSnFNWlgvbtyjK6UCBj2ybyinP0wdXOFUdwT+zr j1Q== 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> 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-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=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 , 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 Content-Type: text/plain; charset="UTF-8" _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 -- 2.45.0.118.g7fe29c98d7-goog