Re: [PATCH] selftests/harness: remove use of LINE_MAX

From: Andrew Morton
Date: Thu Apr 11 2024 - 19:34:20 EST


On Thu, 11 Apr 2024 23:19:49 +0000 Edward Liaw <edliaw@xxxxxxxxxx> 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")