From patchwork Wed May 22 00:56:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13669950 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 DF237C25B7C for ; Wed, 22 May 2024 01:00:11 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 777676B008C; Tue, 21 May 2024 21:00:11 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 728036B0092; Tue, 21 May 2024 21:00:11 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5C8476B0093; Tue, 21 May 2024 21:00:11 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 3D8D96B008C for ; Tue, 21 May 2024 21:00:11 -0400 (EDT) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id B22C2811A8 for ; Wed, 22 May 2024 01:00:10 +0000 (UTC) X-FDA: 82144225380.22.7A0EFBB Received: from mail-pj1-f74.google.com (mail-pj1-f74.google.com [209.85.216.74]) by imf27.hostedemail.com (Postfix) with ESMTP id 190334000A for ; Wed, 22 May 2024 01:00:08 +0000 (UTC) Authentication-Results: imf27.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=fNdDT7sF; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf27.hostedemail.com: domain of 3l0NNZgYKCIwut1yqCw44w1u.s421y3AD-220Bqs0.47w@flex--edliaw.bounces.google.com designates 209.85.216.74 as permitted sender) smtp.mailfrom=3l0NNZgYKCIwut1yqCw44w1u.s421y3AD-220Bqs0.47w@flex--edliaw.bounces.google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1716339609; 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=qBN6dKvcn7a1ilrAwfzcd0ocDzyyL7QD4f+HvB8bOIQ=; b=ymvtwOaaXtxenODZvdbZnQtcF3xL+IuCrHb2Ov4O3uJ1elRedMzaHh0JSTXQ5482TTZA8W z/mk2YY83ITVQLa7C53glRs9bIyI1hUpS3MHfgrnNHPz4toW/+SZVfwDz3zUGrvNHy5TPY UCecz3Rg1VHdaHxq4LsI+Q9+FPih3iE= ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=fNdDT7sF; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf27.hostedemail.com: domain of 3l0NNZgYKCIwut1yqCw44w1u.s421y3AD-220Bqs0.47w@flex--edliaw.bounces.google.com designates 209.85.216.74 as permitted sender) smtp.mailfrom=3l0NNZgYKCIwut1yqCw44w1u.s421y3AD-220Bqs0.47w@flex--edliaw.bounces.google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1716339609; a=rsa-sha256; cv=none; b=ZpjGhKpId7KEOsPAJLBcJU3CkBvYjETEO8ABui42PKcBZ4QaqtD6+l7gLW9qa7hJYDqSFV 8OgKf7pPJ8baOvW9gSO8eLP/AAr8YFp7lsf5lCJskjt/8icg9lnSLwGAoGSepvWKqlWu6Z oJ5pL8mV7SpJY+yUJr1PcCrRVZNo/XY= Received: by mail-pj1-f74.google.com with SMTP id 98e67ed59e1d1-2bd5f87a0e1so3682405a91.0 for ; Tue, 21 May 2024 18:00:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339608; x=1716944408; 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=qBN6dKvcn7a1ilrAwfzcd0ocDzyyL7QD4f+HvB8bOIQ=; b=fNdDT7sF9pJq7Pp7QOqsOUDeCf80RTi84L7THjPq4WQkVWqzINr/522zfuD+V+Y2z9 V/uIQ+VZUwveUhFTHSQaMK5aY/tmOW9FvuVtcdNFD82vFOQrVKh6SEapESVo3GO/tCB1 13XtvVllBgBHMQX1e523Ly4LQGUvhpaXRktKqISmvOg2kdf6nIb+Esx7wbqrSmqvN/AO daJ7LU3+A4MYXDUBSV3lFDbczTk6mQW14mU1ph3WUeEqYp5gjrrP1YY18NEgKwx9yAP6 RjP549RCeDnzFLdkam7HkuqpXj8M7aenX03kXawSSzQxdX+U7JUdMj6Pr2VyInOhRHLn aoxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339608; x=1716944408; 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=qBN6dKvcn7a1ilrAwfzcd0ocDzyyL7QD4f+HvB8bOIQ=; b=KtdMhaIY80uOFB7SbwuiKuoxQO6ywk14E+gdO1sSBtgG0tFjdZvu//aXfp4LKCwXsz aKB5e6vgGBF1cq6RTacljYXOXeBbulfPod73O4DnQUCVe1XyaM+oEW7dqufTTamn9j3U qxalqa29aLntBg0w/nhemT1uaZz6KOblY4R8VDsVKyjALbR+6soUOz6u9Wn35hLy3tEr rLhQEbYfgILNRvRoR7FUqxeuRbR6/VVQxCMp9QaqnlKnBLBoFgah/Wvp7P2gExxJDJH9 o41iU2on9/m6aBa54N+B6ZrTNCvuygI3qkQGqbk/TuLaO7Io+CFxqcy/cE4kOdtZhrId ojYA== X-Forwarded-Encrypted: i=1; AJvYcCV3mmrqi59GdnalShyzarG8JLDRweoLT4BCyyV0OBHEabo6rwOHTwf0L9ZCYAoUyqvu9ldTsm2W15jaI6en3ltKeVg= X-Gm-Message-State: AOJu0YxGdSyBCsomdbbUedJN7hYMACq8C8u7UTjzKpX8ZnUC41yXfMoK HxN8gsyreuUZ1BIoj3Y7oDlI3WatujVIHLE7l2huQKUArzxgSKMtTVLHvEjAnhA/YP/n3J6KqKm lvA== X-Google-Smtp-Source: AGHT+IHt7Kr5feX1gdf4rvQKP41zb9M+M6WWZuA6mfud336Es8VWWBsR3GXtiDGmwzCkNXAVdnqYPJZFEdE= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:90a:9f8f:b0:2bd:9285:c147 with SMTP id 98e67ed59e1d1-2bd9f4a593cmr5758a91.5.1716339607777; Tue, 21 May 2024 18:00:07 -0700 (PDT) Date: Wed, 22 May 2024 00:56:58 +0000 In-Reply-To: <20240522005913.3540131-1-edliaw@google.com> 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-13-edliaw@google.com> Subject: [PATCH v5 12/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 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 X-Rspamd-Queue-Id: 190334000A X-Stat-Signature: izgc6yyjyx98tdftd87bsg4preg5wcsf X-Rspam-User: X-Rspamd-Server: rspam11 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8EVxdfuA2teylrt6IfXB8N77PYlcsOObBM3ryX3vLS9Ioie5Cy7efMV1RrVWlJPK5zQeSVCu9CCM+UL2O0fjJ9fpSr/JIvjNFaidRKdlLcFxihHMwLOIODm9jMJ0xbj3mS1AEugGNDedyVKWO7jmja9orSV4Td9r5vBFyXBYq57MjvkgjlfskJ68IauQDyPKrYHVpZf799gtv//9wC3q6B0Mn+QLOEQf5cRjcUJ95qHLgqhxwgby56aMSugcHAHTiMfeN6eJTOocP1k5kCVGNS2W8HJFMEtdp+AYGyLoRVU/ShM6iYM5sk0nIjqjk3XnR2H5g0XcqtMYUkN31SIlXMlKhDU+0p92Vy1hAJRuVdUcG0R5uvu6F8HVfBzW+NT3IDKt//2r8tk7VRjl5inUqN5jYQUjHW0cLg== X-Bogosity: Ham, tests=bogofilter, spamicity=0.032462, 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. 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