Re: [PATCH] mtd: mtdpart: convert printk to pr_* and define pr_fmt
From: Miquel Raynal
Date: Tue Nov 17 2026 - 08:20:42 EST
Hi Mihai,
On 13/10/2026 at 11:23:43 +03, Mihai Sain <mihai.sain@xxxxxxxxxxxxx> wrote:
> Define pr_fmt to prefix all pr_* print statements in this file with
> "mtd: ". Convert legacy printk() invocations to their modern pr_err(),
> pr_warn(), and pr_notice() equivalents so that the prefix applies
> consistently across all logs.
Your change breaks alignments with parenthesis. Please run
checkpatch.pl, you'll see them.
Thanks,
Miquèl