Re: [PATCH v2 16/53] selftests/mm: protection_keys: use kselftest framework
From: Mark Brown
Date: Mon Apr 20 2026 - 14:09:25 EST
On Sat, Apr 18, 2026 at 01:55:01PM +0300, Mike Rapoport wrote:
> Adjust dprintf0() printouts to use "#" in the beginning of the line for
> TAP compatibility and add fflush(stdout) in the end of the test to
> ensure all the ksft_print_*() messages are really output.
> + ksft_finished();
> + fflush(stdout);
If that fflush() is needed it should go into the helper, particularly
since ksft_finshed() calls exit() so the fflush() will never be reachd.
Attachment:
signature.asc
Description: PGP signature