Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp492000lqp; Wed, 22 May 2024 10:14:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXmuGxShu30hLGeJvWX2BRgdpJcPvnQrO/00sL2WEEGfeAiryf0P3Pf+wkN7YDB+WiQuqHyZIb1TrF23dW3pfjyDs83deUjmsMgiiirPQ== X-Google-Smtp-Source: AGHT+IFqrFAzNzDiHdM4HUg0YaH06Ky5YUiUUkD+okyK3gji/hv+2TA2kX5UlGVi/YHoIc+47+51 X-Received: by 2002:a05:6359:638f:b0:18d:8f73:348 with SMTP id e5c5f4694b2df-197914a33b9mr183725355d.0.1716398044941; Wed, 22 May 2024 10:14:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716398044; cv=pass; d=google.com; s=arc-20160816; b=NMdWDboJV1SPgi5xJDYb4YeK+AQd5PffmxLZaaj4BnwyB/8Zt4Qmp/2uyAsEz2Jtr1 CCnmc7Ahej/UXgG1I+36w31572mypVwi147Ja7i7Qnm/4nm9RdBqgapPrEd4EllWsfb0 BAFZU7E0voE4RLsG4pHEeUfSyLXinVhm/Vz5xBwfvBCTinmK5VThN0y2e1dLqaziMGYP SD2V7HhntxvJQrsOORXO7jYP0X3FDxhz8CgvXszivwGPWXv22Uvkb49Z6A+KAwDO4jF1 2NPmJrksLlv+nbrukn8NpAremOrNQXu1Ko3CqSgD2+O077fbhO16xqu8MWaAwR0wX+Oi O+Og== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=OH8bG+0+olN+UY45PgcvwlqHHi8jBKV56k3v8ZEY+ZQ=; fh=xMu6AcxOtlwP1+nElYYjj6JpWnUUJeTbXTObB8HePVA=; b=kovEZT/8cgkQS21X7YKspUtol7LwvGgvDY/TldXq3r9UL5LvqjkI2Uih7xnq+xqcdV MU39QWpEaGZafRiz5V4pqdTy96g7zGscDezyhUKW+dluMG5BY5ioMV9hE/FZRZ4Rf/Gf 1MqFry5vkQhRrEiaEWFzRrTeWUtLKgRakw+8813r4E50ecDjHlpAvEf09xdvLxyUO17E w7cpUfJEsTU0v6SUeaT/q4n/Gzux1vvrtKSXBIxSriAYDmjG4KXFaY/5nmOxB8/1rlHp jgnpoQLJHxpYZJXaSBu5h/Yju0l2SAew2//7Jw/IQleZ6mF3JxM0EkSNVpXz4zkwCmdY qmYQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UeFxgPqN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-186542-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186542-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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-6a15f1d74dfsi3343306d6.25.2024.05.22.10.14.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 10:14:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186542-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=@kernel.org header.s=k20201202 header.b=UeFxgPqN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-186542-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186542-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A049B1C21C7F for ; Wed, 22 May 2024 17:14:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CA6261422D3; Wed, 22 May 2024 17:13:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UeFxgPqN" 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 D7D7C762FF; Wed, 22 May 2024 17:13:51 +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=1716398032; cv=none; b=ZJnhnm29EjJS4ub04giVeuC1xYZo9jVd1pEiNVWfH0i8piUii5S2le+NsKsm6Y+IrlcJCMK21QE3YzO5veqEZcSHohR9rBNsE1Omc6lJnUYWzPwFSFiXPRe+hIXUO0Q498Aju8kntYninAUlmBGE+iFgCoANXCxA1MT7tJ535Mo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716398032; c=relaxed/simple; bh=60LHAtzrKidGyWFU1huo2XzSzZXTtfyfRyB9guGBkOE=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=cA002To3Muxf6iKI36/DvuoAI3Xtgx6X966Wxs5qOrGw5o5Xc1X6OBcjgTpRmU/XMLWELmOQIRsOKz241ZaFV5B1xOrx0KEC6Eo9RIyyjnRpeu2YeAoLaObxmEmW4K6iPdFZaE8T+UzkpOJXyiVE09IhAzN7lcDi/AGk2mQLqYA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UeFxgPqN; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E92FC2BBFC; Wed, 22 May 2024 17:13:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716398031; bh=60LHAtzrKidGyWFU1huo2XzSzZXTtfyfRyB9guGBkOE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=UeFxgPqNVyEgTI0XJHmMlqgVNwR2qk549KtkKSQj2xn6VpsjZwqC2Lf+iDGZOM5df 0pIFB6FedIZ/eSAj34yv1Bx+FunjVdU3oXJTN9JCuPirVygCgAdPEBau4VikcgzwOQ vlGypaEUL6B4MLskgs7u6vTkyDaanEs1bahwrtj9f+XSO7m6MP7DKDlUm+A0438Ht9 2a4kdmt1gQm5HYO3RfBeVkC9R256x/7f0QwJz18xlk3m5e89KQ/35CBOktYzcP1rKi EodPgwktvtviUOk0lBkjMML7i2DmwbUNREU03/GeffV5q/eqjOx9u6S0Sn1Z0ZUMco ceoRRyLMbHS3g== Date: Wed, 22 May 2024 10:13:49 -0700 From: Jakub Kicinski To: Shuah Khan , Andrew Morton Cc: Edward Liaw , shuah@kernel.org, =?UTF-8?B?TWlja2E=?= =?UTF-8?B?w6tsIFNhbGHDvG4=?= , =?UTF-8?B?R8O8bnRoZXI=?= Noack , Christian Brauner , Richard Cochran , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexei Starovoitov , Daniel Borkmann , "David S. Miller" , 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 Subject: Re: [PATCH v5 00/68] Define _GNU_SOURCE for sources using Message-ID: <20240522101349.565a745e@kernel.org> In-Reply-To: <6caf3332-9ed9-4257-9532-4fd71c465c0d@linuxfoundation.org> References: <20240522005913.3540131-1-edliaw@google.com> <6caf3332-9ed9-4257-9532-4fd71c465c0d@linuxfoundation.org> 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-Transfer-Encoding: 7bit On Wed, 22 May 2024 10:19:33 -0600 Shuah Khan wrote: > On 5/21/24 18:56, Edward Liaw wrote: > > Centralizes the definition of _GNU_SOURCE into KHDR_INCLUDES and removes > > redefinitions of _GNU_SOURCE from source code. > > > > 809216233555 ("selftests/harness: remove use of LINE_MAX") introduced > > asprintf into kselftest_harness.h, which is a GNU extension and needs > > Easier solution to define LINE_MAX locally. In gerenal it is advisable > to not add local defines, but it is desirable in some cases to avoid > churn like this one. Will the patch that Andrew applied: https://lore.kernel.org/all/20240519213733.2AE81C32781@smtp.kernel.org/ make its way to Linus? As you say that's a much simpler fix.