Re: [PATCH v2 16/53] selftests/mm: protection_keys: use kselftest framework

Mark Brown
2026-04-20T17:54:39Z

[-- Attachment #1: Type: text/plain, Size: 452 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]