Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp184622lqo; Thu, 9 May 2024 17:21:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVlWJFa1KX0JETHhyAJsrT+ryW5q6s1zSLzcOCXSZ6gVwNHFTwN8xLogS3VPgP4LyS/fE//d6VIIJcKvARDuPMvr3+yoISt67B9TGPoOQ== X-Google-Smtp-Source: AGHT+IHYADeBz3uTRp6j1rV/gOzfyzLZFA6eibgQh9W6KgnIPI4zOkb4bqR4lcqLMBtwkoWNX6MK X-Received: by 2002:a05:6214:578a:b0:6a0:e690:2f96 with SMTP id 6a1803df08f44-6a167987dc2mr23692316d6.21.1715300466044; Thu, 09 May 2024 17:21:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715300466; cv=pass; d=google.com; s=arc-20160816; b=bSrp+sHiq7wo7OXC7LpsfCq7a9xlJRJo50Q48CCn+ELPaYr1xlH8iG6nAnLqWmyu/O IQ9puBK8SftmgvEHz+cJ8FiXIR6u0L+X3+F70UFVQdaI7I1pOIqFtYKy83IgxeTIcGFk Yx6bsb1B5lHYEE9nmUYgmG00ouDQn9oO6k4DiSOkRAjijK9qzAAp7FuSX/wJBwzYy0BV wWnnLMGUZc/90IsyaBwNhOzuH5GzhotAkp4Xq5vw60uSbhWFsNX0+vtBsaCysnTUH4he LvYJLaWoQtERK22GVH3zxGJV2p/v0NyYk7was4sy3EJKy+bdVRxhxy3b88uh5VZtcgSB 9Lbg== 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=SutmlpPmP9Es0tW/Bsy7cVTmBXZ1L4QLiWxkdHQf5QM=; fh=3QunbbxwS2krlZ4s01UVMEREr2oOXajYkZa0uMxoA+Q=; b=YVxTipCuGfBMrK/HaSWR7kvpurGEReO+o8OHaGDKSqgs2Ltk5seU+E7iZE1pV0eNCH oY42Bj3MzKeFpv+lTs41L8XkA+l+JYiJXUChXYmxp5CGWzH9r9cMAAZi3gsCTRACXKjY oDG7/54puAbJvZ3mmuhTCmLilmaHjdjQCG6hXnzAvRDSThx8o+EhWOG8iXMUZeeFKR2h rCjg+njWK03DOm9QAYVNbw401Jq+70lS2dwfzVT99U0BHaHtTvDCj8/pYyAsAnLyeyv7 4ennpslzZOJyH/zRXPim30e0x8ihetxjI7fNtpcgSSjku3HJRtt+WL8Xvm/+n77hATlC vFCw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=I14jRzgQ; 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-175125-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175125-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 6a1803df08f44-6a15f2e6062si25158096d6.439.2024.05.09.17.21.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 17:21:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175125-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=I14jRzgQ; 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-175125-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175125-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 C1E2F1C2188F for ; Fri, 10 May 2024 00:21:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1DD22131740; Fri, 10 May 2024 00:10:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="I14jRzgQ" Received: from mail-pg1-f201.google.com (mail-pg1-f201.google.com [209.85.215.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 DF93D130A7F for ; Fri, 10 May 2024 00:10:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299827; cv=none; b=W4d34PBINW0fP7DuH/JAVVm2upjf+o9+BWjBNVEd6HSo2Kzk13XfJzYl8nYsODL0IU3cSynyuBdFbEK1ZxxEuztoBsh+RAxZRcPM/pASb2nmNNJ2BdGb8AFKhYCh57QgqAJPXVlD3Svl69OucrMQVV/IwKAQaQczTOWsPnb9F5U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299827; c=relaxed/simple; bh=E+1VpiDi85JXL9jydyuskBjbrlwZLObQo6bFBACsLOY=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=dAntnlkepHqb3q359vikvh1mBMmlqpi1os5Y4CxeCS6QiaF76hUoh4+kA9RrwG2KPNJoKItXdlDCZ0x3LJyuahYtuGlbbBdwrHlujYg8G5hAXd7yaWZo7yLmCfkHOae+SQFv9nSEQ1bIxRNuxcHROUa1BwTUTNH6OBAKoyRVH8Q= 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=I14jRzgQ; arc=none smtp.client-ip=209.85.215.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-pg1-f201.google.com with SMTP id 41be03b00d2f7-5cdfd47de98so1451346a12.1 for ; Thu, 09 May 2024 17:10:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299824; x=1715904624; 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=SutmlpPmP9Es0tW/Bsy7cVTmBXZ1L4QLiWxkdHQf5QM=; b=I14jRzgQVyA6vpo1xqWS6SqVIXqK8rE16OgSTDfGr8PnuJsQVGLB3XJAjrvhTvZHVc 92eW2niQmUsUPw0HYdaceByizvygmwKTJdunxT5f3SgZucGvS1wAIgyIpluskoCLhjBb V26HO6CPwlnkutX46nZfvKslds2GcEpRuF746QeLXMv2bEEeCIS7S+hxb/oJrGsPZRcI +kHTSz2ASoj4StwlKfRsu9w95m3d8Ftwq+io8hGEHfyt0N99dYnyrEoH9y3bQYt17NxU NkRsnJJfbP3Choo5lDkO3gt11NG0b+Ms3MPF7/cvRx2mLDRKhjNun65m2lx8qIDgYxM7 thiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299824; x=1715904624; 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=SutmlpPmP9Es0tW/Bsy7cVTmBXZ1L4QLiWxkdHQf5QM=; b=NZxH7VrSVkEst+cUorIcm41/mOv+gPcQYB2avJW5Z+GPMs0K6c76yNoZQErrQW+JWN QY0glXZ5zOsbpcvORcwKBMrJJxbb4PyRqDD1lEISI69OoHOAncrC/9kCS552krM73bi7 AAo9F1dTWRpD2Y2m5ZzI1tB/8nxCrG0DM0ESOPMK1QfajSaFScN0drLzhdgFFH16ykIr VZ3GULUArNq354qsaLWHGsZeqMgXgwpy5mxc1vm+iKS9ah7VykVGIXZ5WZHlToBLlMaf eWmc9tSO4gM0aRwroDqeY+CZGGd8hzEasbz5qwvMLdzhlaHCIWvqAMg7fwzJ5+U0jgNI v8qg== X-Gm-Message-State: AOJu0Yx6eA6yd4DialAziIb8UIvc4Gbf2Zr/3SDzUGPww6k468UhVUF/ GvoniMtNUhUlBCUP6xJbrriOmCaC5yU8wTug/y+HgSHTFx7oszb6cMGCom8BLtQ4OxS5lkY7I00 NIQ== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a65:614f:0:b0:5ee:3ef7:a3c9 with SMTP id 41be03b00d2f7-63744e04e8bmr1976a12.10.1715299823409; Thu, 09 May 2024 17:10:23 -0700 (PDT) Date: Fri, 10 May 2024 00:06:46 +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-30-edliaw@google.com> Subject: [PATCH v4 29/66] selftests/mincore: 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 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 Content-Type: text/plain; charset="UTF-8" _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Signed-off-by: Edward Liaw --- tools/testing/selftests/mincore/mincore_selftest.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/testing/selftests/mincore/mincore_selftest.c b/tools/testing/selftests/mincore/mincore_selftest.c index e949a43a6145..e12398366523 100644 --- a/tools/testing/selftests/mincore/mincore_selftest.c +++ b/tools/testing/selftests/mincore/mincore_selftest.c @@ -4,9 +4,6 @@ * * Copyright (C) 2020 Collabora, Ltd. */ - -#define _GNU_SOURCE - #include #include #include -- 2.45.0.118.g7fe29c98d7-goog