Commit 4883e997 authored by Wanpeng Li's avatar Wanpeng Li Committed by Linus Torvalds
Browse files

mm/hwpoison: add '#' to hwpoison_inject

Add '#' to hwpoison_inject just as done in madvise_hwpoison.
Signed-off-by: default avatarWanpeng Li <>
Reviewed-by: default avatarNaoya Horiguchi <>
Reviewed-by: default avatarVladimir Murzin <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 560dca27
......@@ -55,7 +55,7 @@ static int hwpoison_inject(void *data, u64 val)
return 0;
printk(KERN_INFO "Injecting memory failure at pfn %lx\n", pfn);
pr_info("Injecting memory failure at pfn %#lx\n", pfn);
return memory_failure(pfn, 18, MF_COUNT_INCREASED);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment