Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp75460lqo; Thu, 9 May 2024 13:05:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUM1IOBre8UjpBSzKytGPwl+Ur1QvrTiNB9Nl6hUde5aqI3rNNG9o2d1gkV3aJdnESWEfrav4pfGm9kQxZ9daMjID/Jet/BSYH9MmDYLA== X-Google-Smtp-Source: AGHT+IGig/U+UlfHZUm2lC/lYqv3nMwDtcMTOKZtirFA2O8Xr8uM6cc0hZBZofKw51UavlYHZrQX X-Received: by 2002:a05:620a:a56:b0:790:c7f6:5979 with SMTP id af79cd13be357-792c75775a9mr55284485a.12.1715285156683; Thu, 09 May 2024 13:05:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715285156; cv=pass; d=google.com; s=arc-20160816; b=iPPFliaanerQK3R+uZv3Ii/dFsWfsE25KTPvUN8ALMXellRp/Iqfm4BKaJJsbwK7It JYY6dh89bKxeNm5CAhEw8KpewPOHuJ2Giz3WrUmlcDCJlFDbLVUDD+hwJq47eZiHg4kv 0g+yJ3Rs30tKVe+8a7R+Y8/6tsZHgAYC6YkMwbcqiqCDxhq51+IhwfE23jXRmCezJYup qW/1h7VRxnXdgc6S4SMDkatDHWx8iCSAwyYmPhHX/yCouwCOa/szPK584Nb5Drw7hKuk 7BdPUakhgtXii7AjN3ASRqreZSa4nNsnN4nNLHNpDuMoVc0IWL3gJE3xEb0aMR2LYBpr 3htw== 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=Od8ki9QAqD1fUhM/c9ehfUOTPfP0DcxD+whg8mbh4TU=; fh=sIBIWh3Jq8NGksjrLDvcDdJ8UYjEWRtXYjg7adhSvqQ=; b=LBiqR35UCs60n8gkxOHVw6WJVQKOlNOSglMxehHBPTnqo/rJ4PqaE7v1SZ7it86gEe dew3Kapg7WLuU/NjHL6yf6I5C83X/OqH7h+FJM1RbU8nmme8k0e6zPsiiC2djROz1Jo5 hqVubvMO0zenAYgbdAP3KP3HAIJQ62N1eDsd9G0g26edCx/PDfMBdWhagaKXPz3CN3Jm zxqEL6S03HesK9ccmoB+byzK/yOCsydOAw4qQmZjPpeAZd9Irw0zM35lW7HQiMCQoZKG 5nTXyq1ic8h4frP9Zf4rZFoEaspYmADIDRTGSczLnZxOseoj1tieG+yXT4MbHG+cuDLr AKag==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=FCwUYfrI; 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-174859-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174859-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-792bf38d480si190858885a.704.2024.05.09.13.05.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:05:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174859-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=FCwUYfrI; 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-174859-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174859-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 586F31C2308A for ; Thu, 9 May 2024 20:05:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 11C39130E54; Thu, 9 May 2024 20:01:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="FCwUYfrI" Received: from mail-pl1-f201.google.com (mail-pl1-f201.google.com [209.85.214.201]) (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 D4C4F1311A2 for ; Thu, 9 May 2024 20:01:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284888; cv=none; b=gKgpOMJbWOM0jmAADLwT0o6+YdI1RXzeS1ODM/hcYHWL/uV74a+PJIQtadZ8Aps4hfbNdsnHAERQyfc+iFQDvYl39s6SEhTehv6Y/u+B9cwZ1e42G0Csk+VNlF11/uaa6Fegx+LBa0jXNeRHynk/i0GbwQPdsvdE9vEhUYLs2bw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284888; c=relaxed/simple; bh=H0xNOT4MYx4yQ3KHHxBXKyqMMscf8BIYORk36eDuIO4=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=U2QDgVa4t1YRu8TWryG7+iWk9NRfZVQjQHagtF62PrBULeciNHcCVFgUPdebFs7WbHlmCWQFpWqEXNXslzDxVn4MmxWc8oaGjWJo14lrSfnN1cZuimdrsRvsNfv4j4OGXhe7i36d8hS2AdbRh6+dRflMv3VHvsunKlSl+/pWjM8= 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=FCwUYfrI; arc=none smtp.client-ip=209.85.214.201 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-f201.google.com with SMTP id d9443c01a7336-1ee2f06e652so12177805ad.1 for ; Thu, 09 May 2024 13:01:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715284886; x=1715889686; 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=Od8ki9QAqD1fUhM/c9ehfUOTPfP0DcxD+whg8mbh4TU=; b=FCwUYfrId6z54JrRqF5cV0StvlVLJTB0VHNWy2rtbqOgyBQBd0IsCxgU8QYRAEbd0y erm4+Gzp23EjsRxbGj88oBKYzxSSn+UE0T+3LnYJgjAyK84I1UUH4QJ/6G8B9ZFVWMKY G0Qh/eDc4+0KI5t0I9vVCXuNmFTm/WF9wsaS81w7MJCIhNNDJYlJrpcsLBeMQYYaEtxO HDxV2tikjkOxggYVoLn91NkJVEpVtITYhGhHX/4kIZ8v+N9eXCNKZd5hTWiMlEE75IxH WXy39lGXRViNrtVCCtZAu3Fg2nwX8vDeO3mZ1oPpzeDNZkJXpLkDjydYMAnOw3yZ0pPr dhDw== 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=TU803hbzNa70b2rUTWhiGCfOxFOvw/rNurqgeuCI6+vyOdOxCtu0R/Um4teKP2cNX+ IjCwqF4CY6hB5E+MI9W0RvN6wzDsHU75Bj5RrYEUgFBC/0XKFZHDRdQQH6NFmbjLCglV DYWn/9f/eZbq54soN83yj+T3ReEBwvhhXSCMNMxZfayCWUsXUmmSZTC+KgeFZsQXLRNG iMIJTXHyuP9RtWFVKYQiVlfXfRCrt9zl/afDyLc0Uz/OQf8DrCfjIaakDwPV/fnii3xN +BPOYYfVan1oN6g7mexeeqeExtFXH3pyRLI7LdU2YocbWWirjRaj/nAFezdgDxwIb4KZ 1d4g== X-Gm-Message-State: AOJu0YyLr7hEYi+GO4gjhn+lbJ5uEV2rIlqVw1eYQcEx7UAqjQiWWc5m A9VyNdv6yYw2WRmE6YuOt9qsVJBsxKBFcVCkmnqFelDoniQWaI7WNuzJgZKv2uDoT8l3NZy/9Yu LEQ== 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> 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-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=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 , 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 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") Signed-off-by: Edward Liaw --- 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 -- 2.45.0.118.g7fe29c98d7-goog