Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp313598lqo; Thu, 9 May 2024 23:58:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXEW1wa3JTszMr0tVKlV3Dquq+M9mFPScURGBbQkO296Dgnm/KN5XQvswnC8ZMvz+9AVxW0z9uDDNAVoR03FHO69hpX1nGJSgbn26phOQ== X-Google-Smtp-Source: AGHT+IF5K+5saTxWU5kubBa/4DGYi1ocJcFZo4B0uGwvseqG2lUXaLvRAj5r0ZahVdAMj/Q7Tp2h X-Received: by 2002:a50:cd97:0:b0:56e:64a:2a47 with SMTP id 4fb4d7f45d1cf-5734d6dc0b6mr986543a12.42.1715324309950; Thu, 09 May 2024 23:58:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715324309; cv=pass; d=google.com; s=arc-20160816; b=THK+rW7VyA2knWqYUqD7x0hcjpzdswUVgCOUphzeuq73unKJZMFv5+STPfXMQF99fI cHWdna+2EgqLNjQp7nonI+ww2RqK1a96qqpL2h5MMC0hZnWMfABl0gPDJq+mLesoKid2 xt2g0mV5yLvp1Eau2+DbGqWiNvkmuFTfS+kyKb6daBHAnVrP5wOj6KKXUtFSDokNdNVs Al9DBkJhshVSbFmHh82/3qZW+VujQpRosmcKgCRPrhdwZ0DL4BFzkTc0O5f4HHwDk878 3qF6msF4tfeiaSs9iovzoX7vJvSkJirrdn7SEIU/9b5BuwHONGAT2MLMTIHqh9S9qtdZ LDuA== 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=LcdP784tcAdr9Vw1BlX/AbEPf9bFHdQ+Xjkaba8CXjI=; fh=Pj8u8qEXUHjfGYDk8WO/4+E+deVX0e7s3a8w7QUxylc=; b=LtmcV/OygzMCmlstogp88JbughlSCAh0hgKqutVW5xUVi5kbeWqyZ/fHv0W30r+ynE 5/UkGzn7YgNUTfsEnkmw43fhHPKndkf0SFYDP7YmqxlxVINetrG4xOMymrsopZNL+n4S y5q0CsghJA8KP6RGbeLnh+vPP8l93YRRfD2dpSNOsQG/B3Tc0bFnnldg0/91NMdW70HY Fd+DWZx0g3Y7wH2JRNRb216dhKlH0aPaUZF/aNwOqYsA/aVn8yHGk365FnV+9/vVHBi4 e7uEaKw9eKjKwJCBo+CJsMc4F/922wz1ti5sFMPugSdjigU/YineYLH0kvL5FU2qvTg8 B7LQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=LoPMsBkp; arc=pass (i=1 spf=pass spfdomain=weissschuh.net dkim=pass dkdomain=weissschuh.net); spf=pass (google.com: domain of linux-kernel+bounces-175363-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175363-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c2d4883si1697627a12.235.2024.05.09.23.58.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 23:58:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175363-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=LoPMsBkp; arc=pass (i=1 spf=pass spfdomain=weissschuh.net dkim=pass dkdomain=weissschuh.net); spf=pass (google.com: domain of linux-kernel+bounces-175363-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175363-linux.lists.archive=gmail.com@vger.kernel.org" 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 AB4ED1F21E4B for ; Fri, 10 May 2024 06:58:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BD21215E7F3; Fri, 10 May 2024 06:58:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="LoPMsBkp" Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (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 3F119F9C9; Fri, 10 May 2024 06:58:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.69.126.157 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715324293; cv=none; b=SzmC2VjVkGIzzMc6qvNH1l+x5qIlTEqyb/eFHzxsqNnjcYM7AHMNrTr8r9pSvMsmONnATxJG76SBcfDNH7X+dLPNeLxj+JVUgnCrYzcE6Cx6YC+20wNHnVKB5W0+TOitL/0qlpUp3t6R5y9xYk1o2zrROu2s3FXRGujMJtANgLc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715324293; c=relaxed/simple; bh=ze4zdjo0fbz33aF2z7EukPA4jLCJ45hoe9ptXCI2FWA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UxyRiQt7ZD6H2dfXVd065zwmac1fMRkGIoOR372z8Epszb2NAcojqaf+YVKZKugyEKlqZmi9IsRdMmJ8eSlFuGsx9KZn9IuzndHHiRvaX8TO6k7HQsRObdR1nSOsrhRPqFF2OuH8cBi5yml29wg8pWqGniW3bKlQoRL+8CKn5R8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=weissschuh.net; spf=pass smtp.mailfrom=weissschuh.net; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b=LoPMsBkp; arc=none smtp.client-ip=159.69.126.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=weissschuh.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1715324286; bh=ze4zdjo0fbz33aF2z7EukPA4jLCJ45hoe9ptXCI2FWA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LoPMsBkp+4SADwS6jrdQNBJGi7DCW73il17aUnDwIa1oyXji8Q/4pc/iKFIzJLY/c Q+z//3FFDHszb0g6PtGL5I026GJFKPn+JmHgnAvadcY419eX/foh0ynFGckgalFFOq HLg577n8fZ8bMgT8eQfvMVA4UfdUCoQF6nttbLmM= Date: Fri, 10 May 2024 08:58:05 +0200 From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= 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 , Willy Tarreau , 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 Subject: Re: [PATCH v4 37/66] selftests/nolibc: Drop define _GNU_SOURCE Message-ID: References: <20240510000842.410729-1-edliaw@google.com> <20240510000842.410729-38-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=us-ascii Content-Disposition: inline In-Reply-To: <20240510000842.410729-38-edliaw@google.com> Hi Edward, On 2024-05-10 00:06:54+0000, Edward Liaw wrote: > _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent > redefinition warnings. The nolibc tests do not use lib.mk. This change breaks "make libc-test", please drop it. > Signed-off-by: Edward Liaw > --- > tools/testing/selftests/nolibc/nolibc-test.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/tools/testing/selftests/nolibc/nolibc-test.c b/tools/testing/selftests/nolibc/nolibc-test.c > index 94bb6e11c16f..a28813f4367f 100644 > --- a/tools/testing/selftests/nolibc/nolibc-test.c > +++ b/tools/testing/selftests/nolibc/nolibc-test.c > @@ -1,6 +1,4 @@ > /* SPDX-License-Identifier: GPL-2.0 */ > - > -#define _GNU_SOURCE > #define _LARGEFILE64_SOURCE > > /* libc-specific include files > -- > 2.45.0.118.g7fe29c98d7-goog Thomas