Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1000656lqo; Fri, 17 May 2024 07:58:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXzXmNPoJN457uiVUit1YqOeSmaryi1WNFZHLpmPSVmv5pDn3r0f+oqfShhLxdRCUGPOecDk3Z+EHYAlKKhveNQNYjRbpUMN1K937mSEg== X-Google-Smtp-Source: AGHT+IFCdEHpQPrR+QC4EF42j50ohkpZl5k5w0JQ1PUBFT6ftsbAce63I9CCre2CRfiiRSJUF3As X-Received: by 2002:a2e:b0f3:0:b0:2e2:b2c7:e597 with SMTP id 38308e7fff4ca-2e51fc34439mr200095261fa.3.1715957915685; Fri, 17 May 2024 07:58:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715957915; cv=pass; d=google.com; s=arc-20160816; b=q4BOeoffa4WOLVeDfpdsROvOQtCCFo7kOG0j6w+puJ3IUSab7fVfUYH+aj4q2g+Rke DSc2lWAxVjbw3bsaHKikjQV0CipCHc5SS3PKdf/SjkQ3mWkyzbxiOeB3KMwtMFowiBik is9rpPP2b/HySBBvdP55ieZs8iqshGqdfiYhUp+zWLqtPXr+1hmj2Ja6h+CpjzS82dsw RXbSvkBcMUTzfLn/mqZfyU27EhiNhzzu9I9NZXqDZnT5LnLYSf+KltS+/ZRNc9C7XRPF qDBtcVng3PrXCwtImxm9dbP9ZwVE2YtfH0FipTkyWHfVKOC+laNIuwlE/NfE7A/MpSt+ /XqQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=0cBkPJS4a5BxMhrLDaw8NzLtBZZCj9gi/zQctsonxVI=; fh=1GZVTl4a+s21ZmSNyAyFZ8LcF8ULqysJl/QcOGTCL+0=; b=S6lfiazarJcC1J5yho7NhggMBzn7P1yqdtlWw+1FVHFNQqJLTvdIsp2u99muJvah2f R5cAA60oZLLJHL+e0MAuSxBkCR2oBMKWM15ld+0ZtMY8Lh28Un1dN5JgVkYdh4WCqLYU 4RSmba/F5v9ppKND3Wtj0L5+wkCAdlmKzG6jx7gDvgbq2+OWgpyVe1pvLWwtqy+adK7o EkoO8L3lHkPHiAQfsL12R8L3ds/7+ny00IQRWwoKZnQ4WBEx0IvKSWpERRJtHS3b7zCK r3+YPZMH2CefIGwB3rItEyKkTYnWh75y9XKhw3n73YrbEIMe1GbXEYeWF/3RZIaJkgL5 Lslw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=QNIiwpei; arc=pass (i=1 dkim=pass dkdomain=zx2c4.com); spf=pass (google.com: domain of linux-kernel+bounces-182232-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182232-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c377ff4si9609422a12.626.2024.05.17.07.58.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 07:58:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182232-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=QNIiwpei; arc=pass (i=1 dkim=pass dkdomain=zx2c4.com); spf=pass (google.com: domain of linux-kernel+bounces-182232-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182232-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 205C41F278C8 for ; Fri, 17 May 2024 14:49:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 256946A33B; Fri, 17 May 2024 14:48:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="QNIiwpei" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 09D5E60263; Fri, 17 May 2024 14:48:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715957295; cv=none; b=pwRLH5XlGIZ3CcZZUG5OlTc0LgInhGYbHiXcerPUCcLjMw5RZ5ldKRt3jVDItJjmAO7ZKRpUJeCdKamMSRb3oeZdaCFYlqt8A+b6mAgji8DTYoDe8u4Rd6wkd977P2++vXC9Zp0CPictZOgMno34/bA+8PRijJX8sQm9Q4YkH7Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715957295; c=relaxed/simple; bh=sR1b4hovpLB3+hUo2qFNbqPLLe083HhBBkJ1S7HtDB4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=H0ZcNUDcvjHXG88aKHhDaWteZDBPkFMqt/FXVMWy6AH2Z3oDG1BJq6aWHsHVT3zWvQfEu9yTQOScuVu0svuh2vCZPUP8QND9swCsSwWE6CCMFHoXJz2e4IC3tMjSLhJB8u5qJNgaI7zpr8yPgbaZ/W6a5xj6wPYz6OTDv3p+2ZU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b=QNIiwpei; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C99DC2BD10; Fri, 17 May 2024 14:48:12 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="QNIiwpei" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1715957290; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0cBkPJS4a5BxMhrLDaw8NzLtBZZCj9gi/zQctsonxVI=; b=QNIiwpeic5qa/l6WvUy8VnPkDhwOw2O5t+Zqc3jVrwko+I6pojUkkvxst2Jk4OyqKLfd3J wK3xBSDhEAAJSz2SFq6ZkSt6Q5XXRnLGDdX/Nfp8hnhqgf1R4vLiNcFi+jHwY6DQZ+aShR 9DLIWT0iMqYDchSnSp1S9+BJggdRqMU= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 8ba86458 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 17 May 2024 14:48:09 +0000 (UTC) Date: Fri, 17 May 2024 16:48:02 +0200 From: "Jason A. Donenfeld" To: Edward Liaw Cc: shuah@kernel.org, =?utf-8?Q?Micka=C3=ABl_Sala=C3=BCn?= , =?utf-8?Q?G=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 , 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, wireguard@lists.zx2c4.com Subject: Re: [PATCH v4 65/66] selftests/wireguard: Drop define _GNU_SOURCE Message-ID: References: <20240510000842.410729-1-edliaw@google.com> <20240510000842.410729-66-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20240510000842.410729-66-edliaw@google.com> On Fri, May 10, 2024 at 12:07:22AM +0000, Edward Liaw wrote: > _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent > redefinition warnings. > > Signed-off-by: Edward Liaw > --- > tools/testing/selftests/wireguard/qemu/init.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/tools/testing/selftests/wireguard/qemu/init.c b/tools/testing/selftests/wireguard/qemu/init.c > index 3e49924dd77e..08113f3c6189 100644 > --- a/tools/testing/selftests/wireguard/qemu/init.c > +++ b/tools/testing/selftests/wireguard/qemu/init.c > @@ -2,8 +2,6 @@ > /* > * Copyright (C) 2015-2019 Jason A. Donenfeld . All Rights Reserved. > */ > - > -#define _GNU_SOURCE > #include > #include > #include > -- But this file doesn't use lib.mk.