Re: [PATCH v2] mm: memory-failure: convert to pr_fmt()

From: Miaohe Lin
Date: Wed Jul 27 2022 - 03:00:05 EST


On 2022/7/27 11:25, Kefeng Wang wrote:
> Use pr_fmt to prefix all pr_<level> output, but unpoison_memory()
> and soft_offline_page() are used by error injection, which have
> own prefixes like "Unpoison:" and "soft offline:", meanwhile,
> soft_offline_page() could be used by memory hotremove, so undef
> pr_fmt before unpoison_pr_info definition to keep the original
> output for them.
>
> Signed-off-by: Kefeng Wang <wangkefeng.wang@xxxxxxxxxx>

Looks good to me. Thanks.

Reviewed-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>