Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp52895lqp; Tue, 21 May 2024 18:12:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWz3svIUzkRPBpcp4MotkqGwLxmh4i+vIGZC2UdhlbSsZVHqpgVnB/xNeztFukoCj4nsjHpCStLTBGdK9QOtYUq0dkllnN62QZ8T+imag== X-Google-Smtp-Source: AGHT+IGCvz/wZfVv/SS3R3yPDCIXH3nXuZ/Gb2mad3YkMIjeLfLWcgsfu9/oT+EZ3jEQinBBAWmf X-Received: by 2002:a05:622a:281:b0:43a:d5b4:e169 with SMTP id d75a77b69052e-43f9e1325e4mr4701051cf.61.1716340326729; Tue, 21 May 2024 18:12:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716340326; cv=pass; d=google.com; s=arc-20160816; b=kPmrdybNxTf52++5CSZNd8Is0ZkedouhHjJ20wZSs4GIzC+u2jHd1BFU5wElRvvYgR qHNmdVJU5koXXKRLcyyN4lFhEtm6GpQp99unRCGn8z55DPdN3TZrW6C35b0O+ANDT2RE Vf9EEdbTA8+Ma2mhht9jItP/xOofWvx2EQWXnHFwAIfso2pR1PcxBRkbCL+FrAe74Bdi K+tJdNZL9cyLpPMPPOPS2X3qu1JNxMprNe08h+h8DijYJQV4ZN0sE4J07Gaj9Hz38R2a RakNDo//ma1TW12WHprIZk5TkqiF1D6aRtKVB073qjS/MECfyq1/dMoOLkMypBtqYNE1 Xsew== 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=oVf/OpY3d2Q/Mya51rq/+c3LTiKmdxaF1eraxGBViHY=; fh=3QunbbxwS2krlZ4s01UVMEREr2oOXajYkZa0uMxoA+Q=; b=LpVFVQBhlsVPKcbcatGB4dosTI08jXYx/qgJ1DWfkRmKfq4oYDec31drUO/nOviBGU K9l9qXURaY2WDue0Kwj5pewEDtLhoQSnb9EvVZ1oc8GRNX99YlH53lRngNoN9IRn+Smw 7wmmSzzXFlJ89/Hmj0RjtLJ2Rt3DTIZGFipeGKr0zUwOvzeN4ihd0u+rxCv28LLKiUSA tIfY3XC72deoTlPma3xNiKDqgNxhx1Z1rPLeZvGtVACYdV9HRRAMVw7hZnVYupsNQQW0 AnSOn5hYFv3ng+K+P48vD92v5Mg+fYpN5kLGR3+MntJ1/0WcpL+Cbrxy1lrs2QlUjUQh ROTA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=phSMDsef; 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-185606-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185606-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 d75a77b69052e-43df56ed064si21934471cf.788.2024.05.21.18.12.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 18:12:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185606-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=phSMDsef; 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-185606-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185606-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 74D0C1C21B2D for ; Wed, 22 May 2024 01:12:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2E51814B958; Wed, 22 May 2024 01:00:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="phSMDsef" Received: from mail-pj1-f74.google.com (mail-pj1-f74.google.com [209.85.216.74]) (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 EE16814BF9B for ; Wed, 22 May 2024 01:00:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339655; cv=none; b=A3iMeOZxcQbDhmLqtqCI8e9tjT6IvDAjc7RaOeZ7iEUmtzA8IxKi/I6deSVGnKK81aOLC01VHyEDhg63M62bd8wPFBlx6BtWX7cHHPWVN9JS8LGoW1dieqtT8J68seZClNj1sonGuWXk2mpef64JNHF+HR/+/0Y//G+zm8HUhwI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339655; c=relaxed/simple; bh=GLz+NiSWIjggktWvXvCcxV3SQNfJgybR45MEAL0/SM4=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=L4KUAFxTeOucgN047Gl2RrD0bVeMZY3zVCDCDbx+0UOM2SF0lZbSrJdByX97TE5B9MWL+dmpsELB9t/XhJUTrtsv/Jpuxgykz57uUlxMPOXyejf7qQQ8x5BCOgRHfyr69egT4nerzH2LpacIaahTT1WNiGuXYtkrBoaZDIZv9Ys= 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=phSMDsef; arc=none smtp.client-ip=209.85.216.74 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-pj1-f74.google.com with SMTP id 98e67ed59e1d1-2bd9a525700so555630a91.0 for ; Tue, 21 May 2024 18:00:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339653; x=1716944453; 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=oVf/OpY3d2Q/Mya51rq/+c3LTiKmdxaF1eraxGBViHY=; b=phSMDsefeA2sbkUfbGrtDhUbKgOqAmIJEDa6t6Ot3Sc9JJD2auaf2auLgw/fC7ghQ+ d+wOIzPtrNJgIWdungvxRRm2x/vhlPlnA+3ka/FmZboN+kmZJQbwa5gw/TQwTzt01Rsc 2B3zMcEIG9xSaUeeMj4Tm4ULLEnGlGGl7+1W7wicfbFGpb2U+hoM1SZDY3Ay9hWGeqbx 2hd6iHS+UYSvWDw1dpm8zH+J7MPCUouQrMjZXHuGRf5RkMjcWaZpAQRi/rUcLo06NHr8 iXqRJ5ONHnGdZcS/u5s0VgDqnjqBZFtZIL4dBAYZP2jlTRqaeCpe+lTUuUB0yCgFwNA1 L5TA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339653; x=1716944453; 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=oVf/OpY3d2Q/Mya51rq/+c3LTiKmdxaF1eraxGBViHY=; b=d3kpaavala8kawciXGcD2Lg74dpKbmkHrlfMrAoY2t1YmyGG10teMlHmT/1ztt0fE0 M/jsmXzv9hC50f/Fi1JG6wmPG5fVVYcPwMsb9Gv335ZZrR2EdkfA7LKrmJNXPrAPPqFb lx4d6V6N3JfTCOQ/pXz50nfO1TOm0EwIjtRoP2jLzS/UNn5oQbY0sucG34huzqIZzSrE Yr4dX/GOeQFMv2btyhESmRhhm5oy6WnOKPBIfIVtbCcie2uPpMnha24UXsktkP7CEVtc 74vRtwl4HuFoJ0YaHmMr14rvVb32B/7ZvviW8BqyqChSXivCfxR5IiIhlQxmKxCRrKTs O6dQ== X-Gm-Message-State: AOJu0Yw5b6ZKWZH1tH4FoEf5waDFCHcXblizyipmARFJ7cwKvBBxLcSl ZGX7boWgn7FADbj7RnKTQJuQGSjFeaev9IFNG72bjKhJauMAiZ9XWihHV6q5aTSoYfPGNzW4y62 WKg== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:90b:1195:b0:2ac:992c:4c71 with SMTP id 98e67ed59e1d1-2bd9f5d9a10mr1843a91.9.1716339653260; Tue, 21 May 2024 18:00:53 -0700 (PDT) Date: Wed, 22 May 2024 00:57:16 +0000 In-Reply-To: <20240522005913.3540131-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: <20240522005913.3540131-1-edliaw@google.com> X-Mailer: git-send-email 2.45.1.288.g0e0cd299f1-goog Message-ID: <20240522005913.3540131-31-edliaw@google.com> Subject: [PATCH v5 30/68] 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.1.288.g0e0cd299f1-goog