Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp463120lqo; Fri, 10 May 2024 05:34:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXc5jOqK4YWn8s831NV/c6+S2wgORzeJbATxGngS0ZfTnuuz2MmIcEUWbHTxUZbalSsF0jwbKFTg85pkz26vzlkWn8Jt8F9v/UkrkyUTA== X-Google-Smtp-Source: AGHT+IEQub1ovwAqv+s9XBb1RV4hBwTVSneCD70Uhu8Pm9WrZksXpm1ZF8JD3MQmLYdaKXVGRcOm X-Received: by 2002:a05:6214:3f87:b0:6a0:805c:c260 with SMTP id 6a1803df08f44-6a168147dffmr28656326d6.10.1715344441451; Fri, 10 May 2024 05:34:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715344441; cv=pass; d=google.com; s=arc-20160816; b=IIQmzNq1Yn9PqwJ1wgfigEXJjaY6Xd3XJdDE6n7xOsL8Q7hHN95BkXfY2iTgDkXqn6 y/aOzlQzXqBdHDDwSwJAOGYYFeiaycOPxRdW/iXjysPBtQWrq2XmkGeomOU0jh6L6i2v mboqjn7YcEnU5ugJwR58eqJ+JS1xZqHzSW2XZth1FOillL6TzkDlp6cTYSEtGTYJLofT HLZdx9ZYDlWR5OOwU61hEZGmOHHvmQ8WpmGi/TrglqyLq/2Yv8zlu401FAJvMKlTJNP4 yXhYZKEPpX1Y4sSRFKY+PkC/yl2JzrhOU9vMua5Z5gVeOZihqd2Z7zx1GzE0AKevYYDX YFaQ== 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=VdSaJ52c9gAy10tg2apN5FJ5IX1Kv9OufkDxEUXKnJ8=; fh=ekGNRlhWmlhEZ/TzzidiisFAaXTGXQdIA3QyipOpoCk=; b=TbvrJNIyrj9k3x/d7xHALSgfYnEwAFbCHJXbq1s/t3DPgV1LdyUoTByMU9O4P9wQcS HCX2Wt4+fCyKc+7AXwcbURwAVtQ1SwCkxRFbsykgVo0wV2fcKf2OzBaUUMtyy1JiK/S2 MXr5ij/vAg2szxRNK8zzE9luW6I/e46zSMf7PoiqtXwlUDMmMkm5AS5PPySvm6Ap8eaL ePYIV0nFEN3S1A/vXWywie6lDo8B5THtTLBbdCTvO9OwihmQak4SxN48lm03Q6/MYCGJ iLVokhVooNof2LhhJE6OHFUKH1/oX+wn42K4xXqSyNQazvjdZZttR6jikMVkHVP7pTHS ntpA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IxNsuXWc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-175788-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175788-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-6a15f3060d2si35516676d6.561.2024.05.10.05.34.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 05:34:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175788-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=IxNsuXWc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-175788-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175788-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 2E3BE1C23335 for ; Fri, 10 May 2024 12:34:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E54681272AB; Fri, 10 May 2024 12:33:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IxNsuXWc" 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 F339D487BC; Fri, 10 May 2024 12:33:38 +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=1715344419; cv=none; b=Dbi3hPIB1N8NNr4L4iLHCpYh+zThinkNOJJMk6iAaAyZzRGw1qeeVWPrQrnQ8MMJaz2hmJ4fjxTjebJCczbcAAKhdNBwBhP4+jp1DZQghJkUvRuIUL5s04VDE4Ag1nh83KilHfJvDipq3o82Jxh0wsmmO//xVIbynaM9Lqgg3sk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715344419; c=relaxed/simple; bh=Tgo2D4za2BYVnRy7ETnxwBHzjmFrWzfpqQD+qoX+F9o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=YQjwQmjw5yErgnCW+F60teUym2KkceAlQU+RUqS13gnppgrJeTgEjPiBpXuOBiLdcz+5ULSthaD3t3GbOb1WypHTkH0WLfJ0pYb8w3hn9ca7ATe5oFHrvJr075rGi3kCmAXb4NPUKo51mzaiG6y2JbHeVJst54efX1sQdWWKFFs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IxNsuXWc; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0CB43C113CC; Fri, 10 May 2024 12:33:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715344418; bh=Tgo2D4za2BYVnRy7ETnxwBHzjmFrWzfpqQD+qoX+F9o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IxNsuXWcUt0KuB2ErWS+RtoO71I9k6wYj2v9IWhtMuivutgf8Zf3RZv+cycc7rDy8 46XV4A/Sgyc9RL2JBhpSLfIigsSWvSqDYD4L+1fiks8BzZ9EQlN/616GhcsFlnm494 UQKmwJFQdpCcU5myS+25ZQZV0OqWbsy+gF7EDbJzw5Lh7LD8fvW1uo2ffbARPyify5 CWmVPEegd25K+9WOrhI5/ldPMiZCMjS0I+895jWZfr/T+xHY5ALYL5HnyHxZWSZZT8 Y2McP8wy3Zg68+KNMLNFZD3pcj6Kc92HPDb2Lbr0rh8MnoXaZWfBEg6svbZ8f23opI W2MDXD9h+nQSw== Date: Fri, 10 May 2024 13:33:30 +0100 From: Simon Horman To: Tao Su Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org, kvm@vger.kernel.org, netdev@vger.kernel.org, linux-rtc@vger.kernel.org, linux-sgx@vger.kernel.org, akpm@linux-foundation.org, edliaw@google.com, ivan.orlov0322@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, shuah@kernel.org, seanjc@google.com, pbonzini@redhat.com, bongsu.jeon@samsung.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, alexandre.belloni@bootlin.com, jarkko@kernel.org, dave.hansen@linux.intel.com Subject: Re: [PATCH v2 2/2] selftests/harness: Use 1024 in place of LINE_MAX Message-ID: <20240510123330.GZ2347895@kernel.org> References: <20240509053113.43462-1-tao1.su@linux.intel.com> <20240509053113.43462-3-tao1.su@linux.intel.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: <20240509053113.43462-3-tao1.su@linux.intel.com> On Thu, May 09, 2024 at 01:31:13PM +0800, Tao Su wrote: > Android was seeing a compilation error because its C library does not > define LINE_MAX. Since LINE_MAX is only used to determine the size of > test_name[] and 1024 should be enough for the test name, use 1024 > instead of LINE_MAX. > > Fixes: 38c957f07038 ("selftests: kselftest_harness: generate test name once") > Signed-off-by: Tao Su Reviewed-by: Simon Horman