lkml.org 
[lkml]   [2024]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] selftests/harness: remove use of LINE_MAX
On Thu, 11 Apr 2024 23:19:49 +0000 Edward Liaw <edliaw@google.com> 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")


\
 
 \ /
  Last update: 2024-05-27 16:36    [W:0.075 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site