[PATCH v2] mtd: mtdpart: convert printk to pr_* and define pr_fmt

Miquel Raynal miquel.raynal at bootlin.com
Thu Nov 19 04:39:02 PST 2026


On 17/11/2026 at 16:28:12 +02, 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.
>
> Where applicable, redundant "mtd: " substrings embedded within individual
> print strings were removed to avoid duplicate prefixing in the final
> output.

I am sorry but it does not apply on mtd/next, can you please rebase on
top?

Thanks,
Miquèl



More information about the linux-mtd mailing list