Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp182428lqo; Thu, 9 May 2024 17:15:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUq303Bw4YRCsl6yaF1bvPhO7li2LW+rSHu4Yp5ZWxcYGSVho4XFqyUGPezpE+H/WD/gjYAROFjatTeuPi8wwhogJ+23LVGzUk1GFDhgA== X-Google-Smtp-Source: AGHT+IEf65BwQUr3GkZzmuDRNr72oesx3kjWpgkijd1oV7e3aWqGFp26hOxgio8v3bTSupjJf9Kn X-Received: by 2002:a05:6358:63a4:b0:18f:8613:12b8 with SMTP id e5c5f4694b2df-193bb3fd3e1mr124323355d.5.1715300131060; Thu, 09 May 2024 17:15:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715300131; cv=pass; d=google.com; s=arc-20160816; b=Il4dUcDotreqAsKG64QG+rPL5Chhijb8Lj+QeF9cLgayQDcBMeCKQxwqSSnjjjuh++ esRmNMpIJGbhx2nnnUMPOVindUe/jXc3Pa7EObenZ2z1cvzzOBhhjJRix9Xw7hmq3ojs BSjGzx/FhpPpmt0o/aMYIZU0xFRCYsZSfyj6hwAXTsyOMQfJa3i6BClAuq7dHXJ9chja P9bLQj8oSgDT2r2nJPXaLSJDSfUhLli10Rm1rWq0kRfjd0jRcZWAja7js+OFz9TQxi0K Cq6vYrOLHviHlTu6PZ7+O9ny8w3lOObfdzGAsksRDhkImauye7+SUB4X1B4yB7exrfcK BIxg== 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=/pfiCQCOCpeS3b+P79XSlfM275G98aKUlpvA+FpfZ7E=; fh=nI0haUxatAK7c01cjEFGY2BrreYnMItoektu0PwwgMU=; b=KvF5Ohwe/6UogC7kwO4Sm/uAqia1NMgEkNBerYI3iqYnlQbayNgbGw64wQlG17ZBFp 8zJlEOjazWSIUgaxKtOG/U4AgG7tiux4yE7SdsAPCt0rFL5JoxtvgnH7boGfRvnSZPTX IhW1+cBJp22DJ7mUPwzJjvtgstcsx/QOsYAkRH3a3yh6BYNhEAKXp5Bf27vYODTJHWWN 46r4MGyCewvjXEnNJkdF5hBZeiPhtm/JAOKu9Tiivo9H/WW4NdYo5c1aE6wHz5KIq+TU jT2/KsTrp7GXnVeLwDUU729LN8ANcNcCqgpHWRszAUaQXG7oacOq5JMdiGwrufBo2/Tc vkdg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=tCVm6HFD; 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-175107-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175107-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 41be03b00d2f7-63413d713e7si2444720a12.819.2024.05.09.17.15.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 17:15:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175107-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=tCVm6HFD; 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-175107-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175107-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 32A3328175B for ; Fri, 10 May 2024 00:14:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E22ABD27A; Fri, 10 May 2024 00:09:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="tCVm6HFD" Received: from mail-pf1-f202.google.com (mail-pf1-f202.google.com [209.85.210.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 3179F4D5AA for ; Fri, 10 May 2024 00:09:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299782; cv=none; b=P5P17gyN1JYsH5waJBoQhjx8nNoqlSTCR4a9LFnEm/he6Jws1PIjG2z8t/Xs71MQMLBLHAY+2c6ACoE+x029m2HNaMdOcLIlJB00cWJwH0b/BChrSSUUdtOfeW7OZeBJYd52BkyiRgNficnpgWQwbQfXxU1h87cNfAMWeRLNqoI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299782; c=relaxed/simple; bh=CSBdvD2frVESGJuxr2TaxNx/hmxxufst4kdYORfDT+M=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=ueEDbm+vQQaQwch1O/FCGqOSKbix1cvVPgaE/LS0Qc0BlKVlIMZJ1fUW1sQoGfNPR1i0BQwusHgZ8XorgfqZ8RA+qW+DDzsZXeX+HGyLftNDFjUOs8Dc9XEw0GOWM45pt9w0AisbqIJXQFv2KaUziliDpbSFaej59HUcFSc1a8s= 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=tCVm6HFD; arc=none smtp.client-ip=209.85.210.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-pf1-f202.google.com with SMTP id d2e1a72fcca58-6f4739ba7dcso952151b3a.0 for ; Thu, 09 May 2024 17:09:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299779; x=1715904579; 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=/pfiCQCOCpeS3b+P79XSlfM275G98aKUlpvA+FpfZ7E=; b=tCVm6HFD5zhVvaybywcHIwxwbYbNsK3Otb5KsDPdkcmDyimr/mrIAYJozwtuZdFvqR qpc5U3H4FHtDCWIpPa7wR99FOKAqBW/R+xe5sEN5W9vOHZLRnlG+ji1puKBC8LYsZqCL wWRw9Ls7RvWFNvDCv4/GDEWoG7gJXQDzXlg8pNNL1rd0FsONRXFvMhOsXEieecGhijM+ U4ltlo6e0fzHw/JG+MUZU9bGZJRzCJO4ncwq+BJ2NPoWoZoQi6IQsbskUwiQ6VpuzLen wxOrjjmrOAoarQIwNpsIFGFkZJJu4OlD/JkXB8IB5RLhN2AK/hY2G4ealYuTYN3NVFLD kt4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299779; x=1715904579; 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=/pfiCQCOCpeS3b+P79XSlfM275G98aKUlpvA+FpfZ7E=; b=K5cdpWBnAtK195G4Jap4l4ZL7Tq4l0Tm9ckyaw/4C0sOJeCRQ2LZ6jFe7NGfs4Fril Uw+F55D3306j4fFUckVY/nXru9P2rEgi/iBXhD840jvyUb9BIdxcVoyu8v7YtdPKd2FN uWQ/eoiyfxGNEeyouPbteSDXB7uwQGUVGqozFS6j9Kf13KQIPonUQppRZs91QlKtSkTN v6ADF5vJY5CxDxapBkp4tqbDswU9pJ06osOUAqO2pDLTjX9J+eTl+d8JjWK6ezJeRdxj f6Ayt+pCgIkV9fsCYOJEndkOctP9JadC/s8uRI3NreU4ZFfCPzTeH9S+YOq2jNU8HaWe 0V7w== X-Gm-Message-State: AOJu0Yye+3ZwpMBJb6t/KYX0EVrsnnaNqN4fEJACvZr6jHaMHzbHbO/k z0sE5GbnwgMoHsmSnkkZjLnqqMMcJLLS4NfU2YgnEFcTFh4M3OvSZCXRWy9lfMM8wQawQXByVqn rTg== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6a00:2da8:b0:6f3:ea4b:d232 with SMTP id d2e1a72fcca58-6f4e01b953cmr21075b3a.0.1715299778653; Thu, 09 May 2024 17:09:38 -0700 (PDT) Date: Fri, 10 May 2024 00:06:28 +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-12-edliaw@google.com> Subject: [PATCH v4 11/66] selftests/damon: 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 , SeongJae Park 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, damon@lists.linux.dev, 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: SeongJae Park Signed-off-by: Edward Liaw --- tools/testing/selftests/damon/debugfs_target_ids_pid_leak.c | 2 -- .../damon/debugfs_target_ids_read_before_terminate_race.c | 1 - 2 files changed, 3 deletions(-) diff --git a/tools/testing/selftests/damon/debugfs_target_ids_pid_leak.c b/tools/testing/selftests/damon/debugfs_target_ids_pid_leak.c index 0cc2eef7d142..3f0dd30f61ef 100644 --- a/tools/testing/selftests/damon/debugfs_target_ids_pid_leak.c +++ b/tools/testing/selftests/damon/debugfs_target_ids_pid_leak.c @@ -3,8 +3,6 @@ * Author: SeongJae Park */ -#define _GNU_SOURCE - #include #include #include diff --git a/tools/testing/selftests/damon/debugfs_target_ids_read_before_terminate_race.c b/tools/testing/selftests/damon/debugfs_target_ids_read_before_terminate_race.c index b06f52a8ce2d..611396076420 100644 --- a/tools/testing/selftests/damon/debugfs_target_ids_read_before_terminate_race.c +++ b/tools/testing/selftests/damon/debugfs_target_ids_read_before_terminate_race.c @@ -2,7 +2,6 @@ /* * Author: SeongJae Park */ -#define _GNU_SOURCE #include #include -- 2.45.0.118.g7fe29c98d7-goog