Re: [PATCH] sched/psi: fix unnecessary KERN_ERR and memory barrier comment
From: Joe Perches
Date: Tue Oct 01 2024 - 21:06:39 EST
On Mon, 2024-09-30 at 19:21 +0530, Pintu Kumar wrote:
> These warnings were reported by checkpatch.
> Fix them with minor changes.
>
> WARNING: Possible unnecessary KERN_ERR
> + printk_deferred(KERN_ERR "psi: task underflow! cpu=%d t=%d tasks=[%u %u %u %u] clear=%x set=%x\n",
printk_deferred does not have pr_<level>_deferred variants
so a KERN_<LEVEL> use here is appropriate.