diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2022-07-26 11:10:46 +0300 |
---|---|---|
committer | akpm <akpm@linux-foundation.org> | 2022-07-30 04:07:20 +0300 |
commit | 96f96763de26d6ee333d5b2446d1b04a4e6bc75b (patch) | |
tree | 573ce9c77b47f85b4c99651dbca57c6ba0d6b6f0 /include/linux/dax.h | |
parent | 07252dfea2c7089bca68949710268cbbb0ce509e (diff) | |
download | linux-96f96763de26d6ee333d5b2446d1b04a4e6bc75b.tar.xz |
mm: memory-failure: convert to pr_fmt()
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 reset pr_fmt before unpoison_pr_info
definition to keep the original output for them.
[wangkefeng.wang@huawei.com: v3]
Link: https://lkml.kernel.org/r/20220729031919.72331-1-wangkefeng.wang@huawei.com
Link: https://lkml.kernel.org/r/20220726081046.10742-1-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Reviewed-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/dax.h')
0 files changed, 0 insertions, 0 deletions