Re: smpboot: CPU numbers printed as warning

From: John Ogness
Date: Tue Feb 16 2021 - 06:12:48 EST


On 2021-02-16, Borislav Petkov <bp@xxxxxxxxx> wrote:
>> Also you should add '\n' into the previous string to make the behavior
>> clear. It will always be printed on a new line when pr_info()
>> is used.
>
> This was made to use pr_cont() on purpose so that the output is
> compact,

It is supported to provide loglevels for CONT messages. The loglevel is
then only used if the append fails:

pr_cont(KERN_INFO "message part");

I don't know if we want to go down that path. But it is supported.

John Ogness