[PATCH] mtd: mtdpart: convert printk to pr_* and define pr_fmt
Miquel Raynal
miquel.raynal at bootlin.com
Tue Nov 17 05:20:33 PST 2026
Hi Mihai,
On 13/10/2026 at 11:23:43 +03, Mihai Sain <mihai.sain at microchip.com> 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
More information about the linux-mtd
mailing list