From patchwork Thu May 9 19:58:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13660243 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 BB525C10F1A for ; Thu, 9 May 2024 20:01:30 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4A3916B008C; Thu, 9 May 2024 16:01:30 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 42DC86B0092; Thu, 9 May 2024 16:01:30 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 257EB6B0093; Thu, 9 May 2024 16:01:30 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 056586B008C for ; Thu, 9 May 2024 16:01:29 -0400 (EDT) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 5702481695 for ; Thu, 9 May 2024 20:01:29 +0000 (UTC) X-FDA: 82099927098.03.C12A4BF Received: from mail-pl1-f202.google.com (mail-pl1-f202.google.com [209.85.214.202]) by imf19.hostedemail.com (Postfix) with ESMTP id 5909B1A0020 for ; Thu, 9 May 2024 20:01:27 +0000 (UTC) Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=excA3GA3; spf=pass (imf19.hostedemail.com: domain of 3lis9ZgYKCBs54C91N7FF7C5.3FDC9ELO-DDBM13B.FI7@flex--edliaw.bounces.google.com designates 209.85.214.202 as permitted sender) smtp.mailfrom=3lis9ZgYKCBs54C91N7FF7C5.3FDC9ELO-DDBM13B.FI7@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=1715284887; 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=Od8ki9QAqD1fUhM/c9ehfUOTPfP0DcxD+whg8mbh4TU=; b=arp5exqX42J/CSr0GL/dLDMk4P1RTFPXHZgCpwShG1CPqJojXxYRqboekOxBsqL6N9islA A4PFGB/ezxKHYh8xwcjO0i4DB3/17c9BTVN097uoqMzZTMMcdAfYPklcW+BRooPGejOKHQ 5Rsxja199nLLjC/d61E4MOgHaQUnWlE= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=excA3GA3; spf=pass (imf19.hostedemail.com: domain of 3lis9ZgYKCBs54C91N7FF7C5.3FDC9ELO-DDBM13B.FI7@flex--edliaw.bounces.google.com designates 209.85.214.202 as permitted sender) smtp.mailfrom=3lis9ZgYKCBs54C91N7FF7C5.3FDC9ELO-DDBM13B.FI7@flex--edliaw.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1715284887; a=rsa-sha256; cv=none; b=LCC5neXtxYEb6Eg7ZQUxDlvBiFld/GWU2Opdw8wPHVO5lPdPK2zRndObEXg85CRD7ey+Ox aUWPsGdDvv29wXkomRzP55epwWTDlvr1bAK4dQz3Jj4VHmGaOFAckTNwgrx5Rh8GHXxPf2 hWnEAoY0i7U/9NxSHmYpI44Sv0ZNmx0= Received: by mail-pl1-f202.google.com with SMTP id d9443c01a7336-1ed941c63b3so11416155ad.3 for ; Thu, 09 May 2024 13:01:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715284886; x=1715889686; 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=Od8ki9QAqD1fUhM/c9ehfUOTPfP0DcxD+whg8mbh4TU=; b=excA3GA3pJCWlEPYOv3UmrXqSFPexVpKG6XolHwM9UxPssUFecRI1RztG/czaH/kch j32qkaIHISPB+qN9NWqVeUBnL6IIelXKaWcuhAFjOqjqSN2JLBpciwMmmyDZ+eHCkLXd qm8D+GVDlkq37rioWEcDUh4h7O4ATSHeQblnA3pK9g6CoHTiwXfzjtuEhzwY+C+SIcSi R5rtC2vaxZPRoHbKxrU8fHUXr1PxBWojqDX/a7qe8NnVf0P8ZfuaZg7I/j3+j8tdTk0J yj8FU2bDO7px28Slv5btnNsDLG6J63dcOVZ4Dt+A2oyZMfyv8HQasYrNfAWqGJ5JHFgG xkvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715284886; x=1715889686; 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=Od8ki9QAqD1fUhM/c9ehfUOTPfP0DcxD+whg8mbh4TU=; b=pTOs2sbganmVe3TjKVFvvqkvzP9Oaz7Dhu8fuXPK7Zj0wtqrcWNpIrn8JWvvucjS52 GWDBquOPASh5ZgebV7KWtEtVd132b6BElMuGGYThDoFnckb7yVBl0d+1JhJbSzA1CkDK 3bBsGL/tz7nje/4J2P40tLP1//nt5SbAOkJss5anLB/1M/e3wPO2XeGHmQDRTVqu2KTe hvxrT4uO08AUBixvjEEoiwoFplZRWS3BcyG3Qd5AtOFbno90VqBmbqPkaKv9WhUfD/w2 fz5tgOFuTh7T6jnKr6PatYQeQzMnmBbIYIRa7MZXT1m11w7vExsdBEMWIgbfhO8J5jvg UijQ== X-Forwarded-Encrypted: i=1; AJvYcCW50Aw7aymjtrWGVU4l348d/41I6tSYp8r9B7eWwdozyyZXagN+X8dtTVJgs7HoUD5QPgR8wYSkmg7UZMmfHJLPAao= X-Gm-Message-State: AOJu0YxQmKZeV7PP/G+HDdkU7931j2qKoEcWNhcb9gWQf+8dHU0SYyrx 2qujF+VcTK19Ns2m5/gOtFc+VvH+6gNB8PZpb1wGE2muNcV017+u/iFPwshl9smoiW4FZ7KYxV4 uJA== X-Google-Smtp-Source: AGHT+IF+9O8AdOrC0sfYwymi9nDgS8P3uCdoKz+tbRqRCiftF6S/rlAyRlPcJO8FmcCJmXEqc5hw6LgYks4= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:902:cecc:b0:1eb:62c6:98b0 with SMTP id d9443c01a7336-1ef44049854mr17265ad.11.1715284886040; Thu, 09 May 2024 13:01:26 -0700 (PDT) Date: Thu, 9 May 2024 19:58:05 +0000 In-Reply-To: <20240509200022.253089-1-edliaw@google.com> 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-14-edliaw@google.com> Subject: [PATCH v3 13/68] selftests/damon: 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 , SeongJae Park , Edward Liaw , Muhammad Usama Anjum , Andrew Morton 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, damon@lists.linux.dev, linux-mm@kvack.org X-Rspamd-Queue-Id: 5909B1A0020 X-Rspam-User: X-Rspamd-Server: rspam04 X-Stat-Signature: psh7jejpek4y6fhi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TJHrGius/L2tsKoB+E5jMLgZR0LXdmR+znpPyR0VyAawDT2KrzYvJ/a5icntu6vw5Jar2JHVFNP6ahWbYHgEiQfdoP339r4ff5tq033e4VE+M7jibqT+qk1rkrau8+poRE/YX1D+vMU/C+Sp5ncgkmDfnfrU5aPWo0gdFas0i5gyKQ/fHM7etFWEelPjzsfztzNmWJT7g+nxFPjuRDEci9SBs7bNacLwveX+XcN4MX02wnk2UWQygPkwA8l0SJPj9yBxysFnnoTZPbqJF5iUjR2bp0Xy2S8PZBYNoXIp8nIBAurBCzw7kcmmGH9yzLeEp1J0n5t9M7TDqU+6q0o8zrMavH2e4njVNVsGvNBYH8PZFBEu1twooZMB2UA4oneCrC1iqeoJEokNCdIjf9nsZOhWsEKuWZGgPohKbuuczk25fxQZD4DNGsdaf+UsVgqVeKwisHeqbn/NCghmKsmhMlBKMJcPzpfb6CLxylbb0bLfIrxx8+S7XQw9WMckqCP53vgKQiVdv3XUet9UM5N1CVcZDZMdMl6aO4f4lACrkucTv70+sOcZm939GUOGyk/7KZK+EIETzL0LJz/8jlF820TeQyB+r7PgoJhRAJCPF1/2rsZ2AYyWhDUpBp3rGof/P+VmNLi4ELXsk9czF6pV5TUElLYPDjD1GQ3+pBfWg6QFvS9gkwPbzBSDlcEiKR7O8qe2V+Bquoh+RJmfX5bB8GHzRRM3SQdH22TmxK3zqcf9kfr3lJqYJ9gT X-Bogosity: Ham, tests=bogofilter, spamicity=0.097916, 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. Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX") Signed-off-by: Edward Liaw Reviewed-by: SeongJae Park --- tools/testing/selftests/damon/debugfs_target_ids_pid_leak.c | 3 --- .../damon/debugfs_target_ids_read_before_terminate_race.c | 2 -- 2 files changed, 5 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..7a17a03d555c 100644 --- a/tools/testing/selftests/damon/debugfs_target_ids_pid_leak.c +++ b/tools/testing/selftests/damon/debugfs_target_ids_pid_leak.c @@ -2,9 +2,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..4aeac55ac93e 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,8 +2,6 @@ /* * Author: SeongJae Park */ -#define _GNU_SOURCE - #include #include #include