Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp75204lqo; Thu, 9 May 2024 13:05:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVqWSH4fz20Aqfxnb0AKcfeMgN7V7zBHjxewljeu4PbR8uRqhIjLlutfDHKB+PnXm0+fM1j8bDDaJe8ircHYNKFzeEIu/XrZynDem+n5A== X-Google-Smtp-Source: AGHT+IFWF8j3MhZ4rAFrTyElwKkF5DXgupZ/TVBCkYUH6Eew/oFCJU+VcaasRmdSYj9j13CPiyEl X-Received: by 2002:a05:620a:46a0:b0:792:8f5a:e9b0 with SMTP id af79cd13be357-792c75f36fdmr59476485a.55.1715285023035; Thu, 09 May 2024 13:03:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715285023; cv=pass; d=google.com; s=arc-20160816; b=kUXh8EGHV7q+hcvUCh0sr/7QaWnYQblxto5a7El73na76COXZWRVxjqqXHutfyRUqn 0ZJQ9Dj5GUci2m42da4G6TcihfpvRQRTqmvSv/YVmmpQe5ETPPJs6jKruBGW8oGOnjI4 mBz/eJnTkzt1ObuNLBVw8WXigZSlm8+18gE8W2oIA+Rqxorpb8CT5iUpXYKHHWKPvlow aF3eULUWRhOvonv9rT76pGP8c9fo0lJTL+Ejxffr65tLncuEyKqOROdQxD9Qx4Zi60ts 26SYEFU0JmXXGZ6D0CNCm1mc0zOfsAvzSalP0nPkW6E6mMf5raYoQG+ShzNo2p1iBguD PX1A== 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=5dDkrD0dZYNeak58b9GqqXeIHUFk691mZ1uMk+mW0Xo=; fh=SAD8WlV17FRiAzTz4xioPQf4zvFElVmTacEi/LdPy+U=; b=UbVgSuau0/8+oaZnoXga08WqX8qmLuMhdPEkQygU8HQlQ7Ymsj5V7Q+nroCQuwxYMT RXelwrv1rQjo429ErEXFNeBqw3ZfgbjRSloMDznE5A2thznl6UawiVjvcTsBjge07M/8 k1nIiaeyIML9UEx4XMnK+0jYX/icftR0JkTisfiJeT3xjM9PSIG0CZilQaFGKIaxlVyM pOItabcpXRFjHcvcpi69ICA5b1X611GgcWqBiuaO1ZswevoP4t6oHo/UlL+wyQdwl43w h/p4xTWQAv14uUrjd2YH7pPdcXIyzFJ7vzPtWyCsB0QwBkm7eYkjcIJ/DGR2imjm6CH0 u6FQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=bQrTTZ65; 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-174853-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174853-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-792bf30acf3si195636785a.270.2024.05.09.13.03.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:03:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174853-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=bQrTTZ65; 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-174853-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174853-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 BCB491C21363 for ; Thu, 9 May 2024 20:03:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E2B7F129A73; Thu, 9 May 2024 20:01:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="bQrTTZ65" Received: from mail-pl1-f202.google.com (mail-pl1-f202.google.com [209.85.214.202]) (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 9500F12883A for ; Thu, 9 May 2024 20:01:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284874; cv=none; b=GxaalVPkDOC9D/3H3ffd72R+rdm9FzRzFpbZIjRxlWkmtqwbSfVy++QgYmJixIaAhuQdaosKqcJ2/68TW6JEEu0+PvTU8Cu05gcYbbH0daHd2DROuvJDo1fs/jHvaJeoLXYyHrJ1Rr9zjrcR6Y7Xstn6h2VLYKte57wMd0TkHF0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284874; c=relaxed/simple; bh=2/8sIPk27FSvTOSAq/0YADaOvQGisOhNEwKoHVOrwoQ=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=lCe82y241ryyAKVIOXhXC0oFcGWAy8HUSI+ywSdiG1oMHUhT8J3iu4x+fNEnhuaeceE8O2x5xw1OIscwQjoqVX8q0c8nf6eXcRWgahfboVcdZSSYzfKai04AzU5GsW1F40coFYIZlV2LgP2WvVclVtMN/ZzowFA+a2m2F2enLc0= 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=bQrTTZ65; arc=none smtp.client-ip=209.85.214.202 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-pl1-f202.google.com with SMTP id d9443c01a7336-1ee3b4f8165so11489815ad.3 for ; Thu, 09 May 2024 13:01:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715284872; x=1715889672; 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=5dDkrD0dZYNeak58b9GqqXeIHUFk691mZ1uMk+mW0Xo=; b=bQrTTZ654PKwJYwymZ0RyY5x+qfOA31YaKC6jhQa17s9os3Py1XzVuKFLytTD1kkpH B97yslXeGW3wQBFRRryQOWSYu8jkVZq8mP+CXPA7FzgMCMJZrpOIdbEsvtaXpERtpurh 0agaPOsG+X9ht8rFOgDQXjFWLqRaAPY0LD4erEK01habuaGK2WryZ6zfP3NfV4RpF5ST ASZZThuJuLPRV0TQA0upOPa66kZV0AvLMQQ03wNEt1pPxRfU9WziC5hUce8MIsjmMYKy HUs7sx0EkR29oQ+rkfDet7tW1d2013kWuQSS/m6Cv3rpAvTrAFSpjxaHj4fNghWwGxvG 41Ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715284872; x=1715889672; 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=5dDkrD0dZYNeak58b9GqqXeIHUFk691mZ1uMk+mW0Xo=; b=sw7kQOYroYCZyK7RTetBUmFX6e5sRrs50kx1QpGz7mrU5vI1DlO30NxNc154NmVTsu XtW2bPYjRWsYpl6SHGEoY/7NB553xTaQSzqKsMzQoNMsaa5mvViId41C/dFJyKOoO+/w n3to2uzLYEl2Pbni3TWtO2NmTqq6EMJFrr+BB2Jm+FCbQ6DOXchoxaoaUM3HmLPm5jUC tzFxW+mGiBYINcsVz8g72YnQbLt3q5edD8eXtU67r8wwrMfy4Tx7n/COkaPeXBKePnVt EwcOHouzRzKeQsNp2oJL32/EZT37Nh2xVeUlP2mfgHmYCHLJv1h70SggcTap/lSFcOZa 4l/g== X-Gm-Message-State: AOJu0Ywmb+XrtwHDePuCCZhAAJboObnT9TIiZRjAuu+vHHa+2LY26q2S 5Jl0I2zjZ339UTijDTU/nEYKnrkD659y5GJ2Z9I2DVDOXSEb8+R10qD3w4DVz7lTslgzpieZwOj 4kA== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:902:d488:b0:1e4:7bf1:52b with SMTP id d9443c01a7336-1ef43d2df8bmr270375ad.7.1715284871880; Thu, 09 May 2024 13:01:11 -0700 (PDT) Date: Thu, 9 May 2024 19:58:00 +0000 In-Reply-To: <20240509200022.253089-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: <20240509200022.253089-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240509200022.253089-9-edliaw@google.com> Subject: [PATCH v3 08/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 , Andrew Morton , Muhammad Usama Anjum , Edward Liaw Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@android.com, linux-security-module@vger.kernel.org, netdev@vger.kernel.org, linux-riscv@lists.infradead.org, bpf@vger.kernel.org, John Hubbard , 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. Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX") 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