Thread (5 messages) 5 messages, 2 authors, 2024-05-10

Re: [PATCH v2 2/2] selftests/harness: Use 1024 in place of LINE_MAX

From: Simon Horman <horms@kernel.org>
Date: 2024-05-10 12:33:38
Also in: kvm, linux-kselftest, linux-rtc, linux-sound, lkml

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 <redacted>
Reviewed-by: Simon Horman <horms@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help