Re: [PATCH] ARM: unwind: improve unwinders for noreturn case

From: Matthew Wilcox
Date: Tue Mar 19 2024 - 23:34:35 EST


On Wed, Mar 20, 2024 at 11:30:13AM +0800, Jiangfeng Xiao wrote:
> The checkpatch.pl script reports the "WARNING: printk() should
> include KERN_<LEVEL> facility level" warning.
>
> That's why I changed printk to pr_warn.
> I should change printk to printk(KERN_DEFAULT).

No, you should ignore checkpatch. For bonus points, figure out why you
should ignore it specifically in this case.