Re: [PATCHv7 4/8] printk: always use deferred printk when flush printk_safe lines
From: Sergey Senozhatsky
Date: Sun Feb 05 2017 - 21:08:28 EST
On (02/06/17 10:48), Sergey Senozhatsky wrote:
[..]
> from many places:
>
> 4x printk_safe_flush_buffer()
> 1x __printk_safe_flush()
>
>
> replacing printk_safe_flush_line() with printk_deferred() produces things
> like these
>
> printk_deferred("%.*s", end - start, start);
> printk_deferred("%.*s", strlen(newline), newline);
ah... besides we need to cast length argument to "int".
> just in case, the patch (which I prefer to be ignored)
let's keep printk_safe_flush_line().
-ss