Received: by 2002:ab2:7407:0:b0:1f4:b336:87c4 with SMTP id e7csp124618lqn; Thu, 11 Apr 2024 16:35:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWgr3TbhQUubRi77chP+qJCBVI+y7MO4gRh25eAUvNKEK9RHipIH1/qByyJZtgDs01wv4DjloebARHgGRRwAVnObUc9Pbq0MZzjT6tVug== X-Google-Smtp-Source: AGHT+IGN4NViBzCQiy8luLW4d3/LG1xUFH6CRCEES+jYc7DSHJvqkifJE1rAFXRircLuu5h6nuKq X-Received: by 2002:a05:6871:299:b0:22e:b56d:196b with SMTP id i25-20020a056871029900b0022eb56d196bmr985047oae.48.1712878516353; Thu, 11 Apr 2024 16:35:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712878516; cv=pass; d=google.com; s=arc-20160816; b=m6CFBOBsaz0hEN3dewP0kJvqhlj+dJczz0jq3kA/tzIU+AdBMyCwp63c5LlgPqpy5w OfOw1TowBmxZb0R+sZhaBbnt29klZCqmFoETXNSqBvXIaGO+KizPDrietVFok2LFn+uN bFYEiKw+CmJ4F2OUjbD38FGwcVW1GxjfnZjp/q7hU3/4iWfDiQBHK55kOSDYU8gbe6Uc lJCb1T3uB88s0KkhZYm/2RPlYmKESojtP3nCm1xYtcMrKPt5Wo671YbW+i6RHhs2xZ84 Bd6solO+OZvONx16k0twfvswpwMGWy8AoVs15/lyd9v8eCtMjk/geSd6C+U7E5u4IzDy ERKw== 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=kytZ9yQOlXGWWzjwns7RTllsbyDJ0U7/Ezmv2dF9IQo=; fh=n8EX6XhF4pIFWpE/npSuNjtHPzu71ppp936qWiFgp4A=; b=eNGjQL35vPHo/hIE/1TDsuw+QAR7+TpvZRaCyh39xuEGCpvDkMSPW5lUmwMlMtW9Fk dR7+U7KA7Dijk1+DMld1t+l7YNgiu6Ec3DtltWts1xTmnrn8xSixUkReV4ROxLYY4RFX kokHggn4lOj4dEtsky75341Q4Gy8/6gGjTd5zx1XtA6TD9US5VGTAbpFTJdDtGdvqr05 pV9D6Kr2TxAHQQkwS6ccGiaup8QdqQe0RIi4qQR9vchGDtiDVk/Jz5T4rVFB208AbW2O EbncFGHnWKmrpNn4PmWJW6GL74LC5LMqVABpSvdipBMOOxG5WrU+chT7u3UJkJLV/9YJ kDvg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=0YUw6krO; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-141715-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141715-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id i5-20020a6561a5000000b005dcbba4b76csi2096835pgv.331.2024.04.11.16.35.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 16:35:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-141715-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=0YUw6krO; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-141715-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141715-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 54400B21531 for ; Thu, 11 Apr 2024 23:34:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 66C77481D5; Thu, 11 Apr 2024 23:34:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="0YUw6krO" 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 5D14E3FE54; Thu, 11 Apr 2024 23:34:10 +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=1712878451; cv=none; b=HNp19bA3cVVqfP5qx6D+krSA8n/2B13i+Py22goqjPXO6+taE31+UtzIvymTznt+zBFZdyIby9dvnOg2BvSZMSfBNcQ1P6cOzgdipSa4zDsPoO864upkLlwgyIo11S/De5KwccxXq7kcvjIIcKxzwjLnYebl232sdt60VR/vDks= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712878451; c=relaxed/simple; bh=fPg+U9aZpiI4UGkeN8+yCCn4g5+/FS3gaks5GuNPqsI=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=nefrmY4dNqZCQ9+DFra29uzIxZiDcVWea4LtwlISdhxGd1+QdBXc5qQb+xJtV2MfgPJSnsI9b7nyx8J9pcDJiDPeuWNY4AQcWnIm7JCS+HrpcMr5G3ZCLzDJIbXhewwq1AX/E/m4zInnBNit6HNeMxtRkI4bhHP3NX4UlU1P0dI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=0YUw6krO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3B724C072AA; Thu, 11 Apr 2024 23:34:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1712878450; bh=fPg+U9aZpiI4UGkeN8+yCCn4g5+/FS3gaks5GuNPqsI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=0YUw6krOuT6SZxP9n4r3R5rl2hdNWCjy2HLJZ5JuNBa15CUzYnU7By+GcQOzZwRFE trfMhj3erdcbHW3gNafLSTlBxf2jnNWAJzxdmW4yPQg8wDAkFHyTN1LIyv2xkQhk1d GF2K9rElo7ry/kGDNheLRq+31AxIU+kXqTswbVbQ= Date: Thu, 11 Apr 2024 16:34:09 -0700 From: Andrew Morton To: Edward Liaw Cc: linux-kernel@vger.kernel.org, Kees Cook , Andy Lutomirski , Will Drewry , Shuah Khan , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , Peter Xu , David Hildenbrand , Axel Rasmussen , "Mike Rapoport (IBM)" , linux-kselftest@vger.kernel.org, kernel-team@android.com, linux-mm@kvack.org, llvm@lists.linux.dev Subject: Re: [PATCH] selftests/harness: remove use of LINE_MAX Message-Id: <20240411163409.4f8969fa8a46b63d04a28f77@linux-foundation.org> In-Reply-To: <20240411231954.62156-1-edliaw@google.com> References: <20240411231954.62156-1-edliaw@google.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) 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 Thu, 11 Apr 2024 23:19:49 +0000 Edward Liaw wrote: > Android was seeing a compliation error because its C library does not > define LINE_MAX. This replaces the use of LINE_MAX / snprintf with > asprintf, which will change the behavior to not truncate the test name > if it is over 2048 chars long. Thanks, I'll grab and shall send it Linuswards for 6.9-rcX. I added Fixes: 38c957f07038 ("selftests: kselftest_harness: generate test name once")