Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp276395lqb; Tue, 28 May 2024 15:31:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUYR3/IlJOW5JojA3Ldk7Udrfj+5pIlAa91Ow1OzgtihpM95kw8SGxXZJSNxE/bZkkoN6pyR6DQ8jFmlPbHLQVlM990fJ1Eg/6N9kKP8Q== X-Google-Smtp-Source: AGHT+IF2GrEMgEEYcqvV4ZZb/Jsfi97aAGpSmlzOk5DWkzYesseUEFI4KZZSebFNZ3RjoM2Ga+JS X-Received: by 2002:a17:902:db11:b0:1f4:5c4b:dc6b with SMTP id d9443c01a7336-1f45c4be9d5mr139468455ad.47.1716935498803; Tue, 28 May 2024 15:31:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716935498; cv=pass; d=google.com; s=arc-20160816; b=LExjs8ITOUMCK1PdEXLvZzxpVgxKT58LtxeAD01hzEKQNZKeXsZ4IbWbahY/5wvWcn jxMylOMBAyySmEUsoh92ZRGUr3eCE4enNoaFMKJpfpvK11g5mhGabR4EW8JDAK8NVwGP Jpb8D4e7agyecGexrqoYEsAKioWhRfrxz32gB52I3iP8rRWTMljbCvz1qlvzsu1d3koO loqe6Gq2k8vubJlB947VUzVS9/SK98IRihut3t07qYLnyuftWDmIJnXm6IJGwxuyHGB0 fHkhynVE33K5S8UAo0qLS+X3oTvU5dmIDBXRBvJaFAWcjg/7i0H1X+Ls+RR3oemCHhMl J56g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=GSSEWukZFE2Gu3pijabeLIdOL6GHuqpyPZcN0QTIm28=; fh=Pa8v+Ezfx1Dm3TM8zy684kwvKFpenDXUl/j2LBFvIHA=; b=LsJT33EQVh9owEO+rAuG3oKXq2SOjNa+Xyzx8mInW7bomwUtF+uNb7Knw5juM5K2mx 9HcOTXD4fWz2F0fmyXxN+BHAZj9ips5BQbH0OgMAXwVRpBlKdu5/JatMHhIvorcg+f26 ucdEOuEvYlnc2dhFp51LW1TIMbMRADtkdMWr95VgSQyOfDRaD3U01ilEq0w74RM62PCU 1Jx63AhKUvzkpn9n6fZ73kfhY8e/tFUzmyAUYu8hPFz9DL+F4sQUCsNsO/6PLLg4rE0q J+IMisFsHkgVopd61ofppamfjeUTncNDItfg3KlQW59ugaYsuBeD+4wbADax7W9ZgPNR M0hg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="aKeCzv1/"; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-193178-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193178-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6822ae57937si8708285a12.768.2024.05.28.15.31.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 15:31:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193178-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="aKeCzv1/"; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-193178-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193178-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B24A628CD3F for ; Tue, 28 May 2024 22:25:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7034713E029; Tue, 28 May 2024 22:24:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="aKeCzv1/" Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) (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 18E5213DBB1 for ; Tue, 28 May 2024 22:24:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716935079; cv=none; b=HBZ7SjQSRShSKq1/VY8DGZG/RF8X5dpD7D6ocLh0Ovf4nrV/QBpIV82ZO78SI4Pp6Kj7r9pkWT9ab3KqWIMy5RbjHWt7FMpsSSUdCpc9OvWlk7z8u6gSUIeGUi+tov5qII8tlgID0dJrt2uI1TgEY+I6Xwt2yVr7LX7RgxKqs3Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716935079; c=relaxed/simple; bh=GSSEWukZFE2Gu3pijabeLIdOL6GHuqpyPZcN0QTIm28=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=gewnEy1jBBw8Dcc1jK8+Z6vrPK3x9b9kTt8jKSPtlTYvAg1LqwkiMjSEeEmSdggLD3SwdKZtpEP12eVVmkaXUDzu5lggwY+nsCSrDSKixyrTVtUFmu2+h+5AYFa1YBceLBLUU3N2/NxgUsw9ri+ZjVkhwDx3CjJ8WTwWXKJ56Zc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=aKeCzv1/; arc=none smtp.client-ip=209.85.208.45 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=google.com Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-572f6c56cdaso6587a12.0 for ; Tue, 28 May 2024 15:24:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716935076; x=1717539876; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=GSSEWukZFE2Gu3pijabeLIdOL6GHuqpyPZcN0QTIm28=; b=aKeCzv1/jYgKygQAlr+iNSxFuVGfo3POHpZK1q/Y6zm92EoWuzdK8V7Sa3nUJZoUXh JqpG1fJeaEiEtLGoS/Qy9S6usn9z4SHt9kv/iqKks91myQWrFi6hkd6MAA6gOScj4QuJ nx+I1WvSBeWOxhRXNHYk3QAETrT54I3yY1IN3A72PhGu24WeoEKv6pI1r7RZXjWEl3G1 C/SJDkLU9gxX7T0RBj/OfQbfRXzGclrJueSlaap7YmzhJxajTRAXGg5G5IELG3JbjJa8 I9PANMdLbPcABZuV5IdaW2oa7odPZBnQnuRLvMcTcHuf6+cVczvADj4C8YczwpXJLDNZ iMjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716935076; x=1717539876; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GSSEWukZFE2Gu3pijabeLIdOL6GHuqpyPZcN0QTIm28=; b=hqT7EtTWt/GFtr0635ZEoc8MLKqts1VyCJcHI3Y9E4EcPFRi2l2+14WEmHpdRcS6V4 i8ZpN5+TdphmNSC+9hZsO3zV3Aypv/yFqFDNg55RTtGduFWCGSnQGMmv2l7OxIBbbdni QhSNB5XM25KEUJ78zJrxo5K/npvFtMmcTDYSLQYWiqHguPjLkQJJLLXbMHXjRmN3/SaZ Ssns+T2OOrTXG3MBtLgTXHiVxKm2EASveEobryBDiYWDysnHzkurivKQvJLSl3Mu9Fjc FxVJZvYypmqpqGbAl8MDRPo7Y3OtTKHyuFvN2na+EFD0Jfu5sWB0eEuJHNBd0YVpVmmb bPcQ== X-Forwarded-Encrypted: i=1; AJvYcCVhYEtiA0zjRSiWVjaxu4Pt5TWecT6+AZrYnI+mag16ovaKTIk/Npld8T15yBeGInUgm3otGa/x6hF1iS8SoGyrzZFXOWgiIgmvcLiN X-Gm-Message-State: AOJu0Ywmym4xxHncY1smftIQcMRe8Z7QXRrTQMO+SFzoq1ugxoz7rHGt xUwZYeBI9dwP0X3Hw9gfDmlyFTskb+aWBJWnnWJvdbi75ldHF7XMekpSzLf0/0wEgCq3woezsqk jjTQEJP+1GGFUN2MxY7NSa0Q1WJVpLphf/Zld X-Received: by 2002:a05:6402:553:b0:574:ea5c:fa24 with SMTP id 4fb4d7f45d1cf-57a05d20d22mr6096a12.3.1716935076207; Tue, 28 May 2024 15:24:36 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240503041843.99136-1-jhubbard@nvidia.com> <20240503041843.99136-4-jhubbard@nvidia.com> In-Reply-To: From: Edward Liaw Date: Tue, 28 May 2024 15:24:09 -0700 Message-ID: Subject: Re: [PATCH 3/3] selftests/futex: pass _GNU_SOURCE without a value to the compiler To: John Hubbard Cc: Shuah Khan , Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Darren Hart , Davidlohr Bueso , =?UTF-8?Q?Andr=C3=A9_Almeida?= , "Nysal Jan K . A" , Mark Brown , Valentin Obst , linux-kselftest@vger.kernel.org, LKML , llvm@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, May 8, 2024 at 2:05=E2=80=AFPM John Hubbard w= rote: > > On 5/2/24 9:18 PM, John Hubbard wrote: > > It's slightly better to set _GNU_SOURCE in the source code, but if one > > must do it via the compiler invocation, then the best way to do so is > > this: > > Hi Shuah, Edward and all, > > This patch now seems to be obsolete, due to Edward Liaw's comprehensive > fix, "[PATCH v2 0/5] Define _GNU_SOURCE for sources using" [1]. > > [1] https://lore.kernel.org/20240507214254.2787305-1-edliaw@google.com Since we're dropping that patch, would we be able to merge this one? This should resolve the futex_requeue_pi compiler warnings with Clang. Reviewed-by: Edward Liaw