From patchwork Fri May 10 00:06:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13660600 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 A500DC25B74 for ; Fri, 10 May 2024 00:09:42 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3D2986B0095; Thu, 9 May 2024 20:09:42 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 35BD06B0096; Thu, 9 May 2024 20:09:42 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1FD196B0098; Thu, 9 May 2024 20:09:42 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id F23AC6B0095 for ; Thu, 9 May 2024 20:09:41 -0400 (EDT) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id AF12CA2723 for ; Fri, 10 May 2024 00:09:41 +0000 (UTC) X-FDA: 82100552562.06.A2DE8E8 Received: from mail-pf1-f202.google.com (mail-pf1-f202.google.com [209.85.210.202]) by imf22.hostedemail.com (Postfix) with ESMTP id E5D8EC0015 for ; Fri, 10 May 2024 00:09:39 +0000 (UTC) Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=LaH60gLf; spf=pass (imf22.hostedemail.com: domain of 3wmU9ZgYKCLsfemjbxhpphmf.dpnmjovy-nnlwbdl.psh@flex--edliaw.bounces.google.com designates 209.85.210.202 as permitted sender) smtp.mailfrom=3wmU9ZgYKCLsfemjbxhpphmf.dpnmjovy-nnlwbdl.psh@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=1715299780; 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=/pfiCQCOCpeS3b+P79XSlfM275G98aKUlpvA+FpfZ7E=; b=xtHEZTv1LaS6oy9TJ7n45PiycwstmuSQthQvVCb+bnbuNx1fZYNCBq0hUdgEJrpriBuCIF 8/Xga4rw0/gR37UzY+sgKmGPdrXmpc5hMlhbsXOafQZVguOrWMwqRjZYlbiYU4LonRFE5h 197lIWcFlasX+gNR+vZ7dYH3phHBZBA= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1715299780; a=rsa-sha256; cv=none; b=wUILSgdyjjcj7e0mO+t0qN//2bacjU36wiRDAIMy8hTb5EtjndykdRjsAmF6RAw5rXtRw4 aXbgtvkqUqQQPtenBgic2GbhEv4HLw97zWroQ3HwW6cMwDAUGYU/Oj1KTdsmsUAFRxDUOu JmxHbKN30dvQpJTw9NrS4QPGk0I1Dp0= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=LaH60gLf; spf=pass (imf22.hostedemail.com: domain of 3wmU9ZgYKCLsfemjbxhpphmf.dpnmjovy-nnlwbdl.psh@flex--edliaw.bounces.google.com designates 209.85.210.202 as permitted sender) smtp.mailfrom=3wmU9ZgYKCLsfemjbxhpphmf.dpnmjovy-nnlwbdl.psh@flex--edliaw.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com Received: by mail-pf1-f202.google.com with SMTP id d2e1a72fcca58-6ee128aa957so1488117b3a.2 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=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=/pfiCQCOCpeS3b+P79XSlfM275G98aKUlpvA+FpfZ7E=; b=LaH60gLf4g5daFqY2cgeHg6U2iZSrDQXsQgousdBPwdEBpLX8hjBCMY8theyshk2wR XgcenA6qJNC73UkijVGIly825wCGEvbqoEATmTg/eSDmtPlhWwNpdlFjNTVUxl9GrGdT kOma8LmwK1D/4836UroJ9dhhnwrkR5DywRRnVlwcxP71FZU1c62mWDvjhj55v+ZDk3VR 53xXzeRpdprFLPS00UvParwRSOSy0fe5XRqaABZXFgAKX+9PuCjQFcg+6jGLXiIwdrYe sNaKdRC5obZ9xUrRtUanJjwhNDfetuv8NE6YeDIueuk8WOhxFBl7eT51zOddcDNPDHR0 TAIg== 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=iB7uBoJcfK6tS1qReKUfwEmEG0OPXDmhbiyMFf9po3WK/IgXLEGksbWU4yOUCiCPMa s5fb3yi34sLqoa/GUzOXgDBFjMeT31yGrQjFZ6DLyeSxT6vwu2dJcCWpXqxyBp4xfPYT p6H+gtLul0/cA/4aaPntSGETgI0Mfud+8UZb6MeSXfc56Qsj5wu0TbtCm9jbcMonfoae cKFGWlH4Ob9b7Gb9d5LchvNEq26FofHNsb/bCeaTM0bimiqr7YTkz6OLjT+BJAj/ayHr bg203e+yvUNGBM/XggP9bPZoRbzQcHaVHA5VoNi95He/Vp8zR06Ru/VGw4CR8NCmGUQ/ 24UA== X-Forwarded-Encrypted: i=1; AJvYcCWJ2BNkiFGRh+ey0SGsDzaTjj5CxP4TbPikBemMh/gcaTICfWUMxaELC1+Xtn+8/ce5WS34MLKhgeLSUxlx2BE3g9g= X-Gm-Message-State: AOJu0YyOVPA8mXDwc51c9GyM6zAF8ahppLGODmUGi5fOz5NaOBUnd4MS 5fSJXaa/PTEQwGKjFdP4aI2TTAmiq0j4PPv2v3IuKX+aUU8+dir07Hl5t2jxp2YkN5k6H1O//h/ bnQ== X-Google-Smtp-Source: AGHT+IHa1F5rhkXxvj9b2QgJYJivMxzP9dzNJAuDLYs3QTWopUFJ10s7HO1AbC/fEg0FqzMYeA/jrLgYEm4= 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> 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_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-Rspam-User: X-Stat-Signature: 3zy6sd5khxrs6z96sm193ws9pp7hehrd X-Rspamd-Server: rspam11 X-Rspamd-Queue-Id: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UjKhlHENebHQIAFlJlnJTk/2ofiUH+D/N3bBDwChVoRw/f9pOWPbLcFFig2McaFaKOYl5Jt60Ce/ywNk9so6FOjHs37X3FHHdF7txmLUqk8HbomggQ7kO4jtpJr4gsie0Np3+Pp191tOi5QAGpFX5016er7aJwVePVxoGhppX9WXElNeR7cN2YLBjnFMJSI1jPKHFV0CqKjTRDNMg7yWfO2jxePVvDtKDaM/9QcSQ2bDQzWED0zFU7OTcIw4TT/WpZjqUMU5rLZVyF3SfhIeedsmcC5NzpAL2Y06dQ7sXoz18Ri6BqjqrZTyKcsERlFZ+lT8KSrbeCzjydcezncyXsvCNxF0VBYDB8g4E0dleTcTq8keowhuso6doK6RUilhOxxxpWclRNe+adIWd/ClsIxEsCDldgnj+k0Adf1mWn+03AQF3PFwORc+KivdKj6xE4pi8RtbTgyTeHC4fmOYBW8dTlhMNHbtxQYOJyE1iQrdQuMS1TcyaPCDxXGweaLsPErkKg1VrBOViW10WHg+eIbCFgO0CkBj5HFIK2oyiECLW1RSqA/iDuQhUA8+2vvzwG+zbGXEzazZfEyzKutBxpVj4tUKHeGXCSLIYbI4ZBt5EE++hfpW3omdUMqiSdvdJuUvOd85wKd5DKk4ZsSLNaq5OKpS2G8mhirpf2Nc5MIwt6mGLKGLBcuLuevEVCeCbRDvZyFDtCmTlP1YRX7H4kPljp25LqF1 X-Bogosity: Ham, tests=bogofilter, spamicity=0.003960, 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