Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp48878lqp; Tue, 21 May 2024 18:03:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW+4B3L/KecU2sPqmfEhy9tYIXq4Pvk3JpxbCMtt8/qlCGHhVTYJgQ4yRO9mK//WvacbywETMM897vAgbPDX+yIGMdKYmDK9yQMHDVAcQ== X-Google-Smtp-Source: AGHT+IGPJjeuk+xtvYf69SFHg9pnkF0LIe07P87R2B1oGcySzJ+UmpZxJiowFjExCWKbgh2vIZdw X-Received: by 2002:a17:902:c412:b0:1f2:f784:97a3 with SMTP id d9443c01a7336-1f31c9e48e5mr6508285ad.51.1716339789483; Tue, 21 May 2024 18:03:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716339789; cv=pass; d=google.com; s=arc-20160816; b=hFGKNDDewSmV4ICSAhxEnxQHC7xDEfjzOLOKAbpwZnQsLzKs9MUBd40a8GeUAEZp1Y gJQQuTDrRJZZxJIEKHFUfA/0F92Rld6Z+TCdN5Ru3GAAZwFIYa9/ro9Ol9rrnpOAB+Fp TQGM43woOS583TchrR9szQC15Yv5scJW4vE7XV/Uu6rDTy5/6iTLVJ6FUWm7t9hSSQy8 u0/XdIVvs9cdCQbDAUl6g/ulZLrbfJbHIlF6s6XRTfr8hDkQpoys/LcNDjNZ6vtscWL9 NR4MdtqS4a+IZUG4HzAGpbty1FEcdB62OSi6ApSmIvn+bGz0x1u8yNNFZpw1VcNMIeRH UZIw== 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=AWjM7OsrUPOawORB4U9wbeNgOji92nYBHhW5FcjXqmE=; fh=Ac/znJlgqZtq17Zv2c6ZNyIbPkkGFaDCRAsL5pZaR7Q=; b=TmJ+dVn7QBIxqcGiNS2xZVSmUnFf38cNASaqlHlnIuobbTfzOsKYC0uQoL8YqHskCo MVsXrDApW903rqfx2KsyZtHbsbqliGABppuLgdiX+O8ctPNJARwtvFUfNt1sxJkp0diu S5nM8fxfobqC7rW9NUP90ZvqzJH8WcJxLYJgX+/UoiSSYh3tMaLNLxJBYbzZkzA5nnmQ Bz1DJxPIa6Rvsh//TgQPuTwIXa8uCN5jAiuTyNEvw1LW1cZeK+N7cgALqH0pwfTiDZmV ahjCvkfneQQPyemxVe62j7FGJu+TwtPPZ76R0mXAhf7QSptyIZZv8cH2RicH7gqvquoH Qb3A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=0GzILuDk; 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-185582-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185582-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 d9443c01a7336-1f300f52157si45039585ad.572.2024.05.21.18.03.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 18:03:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185582-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=0GzILuDk; 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-185582-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185582-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 CAE8E287726 for ; Wed, 22 May 2024 01:02:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5EA933CF5E; Wed, 22 May 2024 00:59:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="0GzILuDk" Received: from mail-pg1-f201.google.com (mail-pg1-f201.google.com [209.85.215.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 0C33A381C6 for ; Wed, 22 May 2024 00:59:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339596; cv=none; b=r0O/jmUGlQ7V2K1dKbvsMcbWyAUDs61y+v1mAEOCr7W7cCkNKcjoLi3NY+XmeyTv1f0TQKqpNoxGNS+PObiCZmpxYnxft9RqPMYHex+R8eWrVhpw3CewnxC1OoryEE0h7OYlmJYGlDrA/CIklreZ/VJU6BYbCu7HgdoLb3VCdQc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339596; c=relaxed/simple; bh=QlxunmI1UMNHVXdfUhGhzSfMamEMKYnucGTyrjL/sgE=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=UYT7ZdG97xV2RRs/gjzb6sF5j21lQWor9pddRMwMMVeTMGKI9yfJ7j8lQssjY2zRTlIKy7trW37trhi/SdukoYNCNBx/3cRmlEirBbiCZP5DGEx5pEsC5Op20FzlU+5AWxuwooMwXG1saRO/ELZrUYm74n4a+ZWhYTNbBPyZe7E= 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=0GzILuDk; arc=none smtp.client-ip=209.85.215.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-pg1-f201.google.com with SMTP id 41be03b00d2f7-5cf35636346so10334263a12.3 for ; Tue, 21 May 2024 17:59:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339594; x=1716944394; 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=AWjM7OsrUPOawORB4U9wbeNgOji92nYBHhW5FcjXqmE=; b=0GzILuDk6a0rcZe8QWnfWkAgVqclroLk8MUjIf1ofgo/ZtfRMQruqDKViQctf6p8VH 3DRu/aqqL/GpXn44pTejvARWwpR+gpXF6mesPrmwW98FZ3XqY4/rx4XjS8a4f9BGRwkm RaJn1ChHf+KhLRZ0rjySjehkKyuVMuc2SUollb07ep7hgNw+mDp/j3iHv0+3dxPQwyAs u1VsrICVplebkqJTHOT9F5m6hyg6/k/8PDFeTE6bn2Z7DXo2yptRraXhcM4RLyIumcmn LglfIc+c+Enizsoq2yy7ltSf3Uv+K2Fg3rVgbZvfbZPc5dmw+qIaiyaY+rR4WwqWD9Rz FclQ== 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=TBxuV22zq3RtOb5+6WJZFkUeaUqxXxYO1GzM0EhuOXIxThpPgFZlrXqeLGJjMvzsdd hX+wsRm+9dTCEnZiS2qvm9HMxdqZ6tRfq2+vsBsY4RnP5Y7lZICssa9jW4hi4GgKf2pB Ybyxs1ZUQChI1mKU7Lwn7q3XpVP6MyXMY7TT+zxlTsTXF+RS96AUQmvipJZ/ZONgeXRz W8SDnAcEvlsW2Gn/aB08zAz8UIzRUV18LCrJtNt+Bm9uwdPxEo8D53bjr9hH4WWMoNm0 zqdk48KTX0UzyUVA4tBY82LkLvsU9eUXKljmeZPIij6HHd4DlzZhQOzze/xE5zLGyXpR 95Wg== X-Gm-Message-State: AOJu0YyfQXaJxgpBhgVQCBIRFfaaPQduV3EOGQwreJo336u8SvKFM2LQ +cshuzEj2Q1uOVdL/M5Vxcb2h+VVFDbvY0sELXkR/Qk8S60kdRekb36MnyU31iv60mgx1x9VMVl CDQ== 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> 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-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=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.1.288.g0e0cd299f1-goog