From: Simon Horman <horms@kernel•org>
To: Tao Su <tao1.su@linux•intel.com>
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
Date: Fri, 10 May 2024 13:33:30 +0100 [thread overview]
Message-ID: <20240510123330.GZ2347895@kernel.org> (raw)
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 <tao1.su@linux•intel.com>
Reviewed-by: Simon Horman <horms@kernel•org>
prev parent reply other threads:[~2024-05-10 12:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-09 5:31 [PATCH v2 0/2] Selftests: Fix compilation warnings due to missing _GNU_SOURCE definition Tao Su
2024-05-09 5:31 ` [PATCH v2 1/2] Revert "selftests/harness: remove use of LINE_MAX" Tao Su
2024-05-10 12:33 ` Simon Horman
2024-05-09 5:31 ` [PATCH v2 2/2] selftests/harness: Use 1024 in place of LINE_MAX Tao Su
2024-05-10 12:33 ` Simon Horman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240510123330.GZ2347895@kernel.org \
--to=horms@kernel$(echo .)org \
--cc=akpm@linux-foundation$(echo .)org \
--cc=alexandre.belloni@bootlin$(echo .)com \
--cc=bongsu.jeon@samsung$(echo .)com \
--cc=broonie@kernel$(echo .)org \
--cc=dave.hansen@linux$(echo .)intel.com \
--cc=davem@davemloft$(echo .)net \
--cc=edliaw@google$(echo .)com \
--cc=edumazet@google$(echo .)com \
--cc=ivan.orlov0322@gmail$(echo .)com \
--cc=jarkko@kernel$(echo .)org \
--cc=kuba@kernel$(echo .)org \
--cc=kvm@vger$(echo .)kernel.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-kselftest@vger$(echo .)kernel.org \
--cc=linux-rtc@vger$(echo .)kernel.org \
--cc=linux-sgx@vger$(echo .)kernel.org \
--cc=linux-sound@vger$(echo .)kernel.org \
--cc=netdev@vger$(echo .)kernel.org \
--cc=pabeni@redhat$(echo .)com \
--cc=pbonzini@redhat$(echo .)com \
--cc=perex@perex$(echo .)cz \
--cc=seanjc@google$(echo .)com \
--cc=shuah@kernel$(echo .)org \
--cc=tao1.su@linux$(echo .)intel.com \
--cc=tiwai@suse$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox