Re: [PATCH v2 3/3] printk: Use console_flush_one_record for legacy printer kthread

From: Petr Mladek
Date: Fri Oct 03 2025 - 12:26:47 EST


Here is the same patch with the alternative semantic of
console_flush_one_record() as proposed at
https://lore.kernel.org/all/aN_3id2CF7ivC42R@xxxxxxxxxxxxxxx/

The return value from console_flush_all() can be ignored.
It is enough to check whether @try_again is true.

I hope that this semantic is more straightforward.

Here to go: