Re: [PATCH v2] mtd: mtdpart: convert printk to pr_* and define pr_fmt
From: Miquel Raynal
Date: Thu Nov 19 2026 - 07:39:48 EST
On 17/11/2026 at 16:28:12 +02, 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.
>
> 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