mm/hwpoison: add '#' to hwpoison_inject
Subsystems (2)
PATCH v2 1/1 mm/hwpoison: add '#' to hwpoison_inject
Changelog:
v1 -> v2:
* remove KERN_INFO in pr_info().
Add '#' to hwpoison_inject just as done in madvise_hwpoison.
Reviewed-by Naoya Horiguchi <[email protected]>
Signed-off-by Wanpeng Li <[email protected]>
--- mm/hwpoison-inject.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
mm/hwpoison-inject.c +1 -1
@@ -55,7 +55,7 @@ static int hwpoison_inject(void *data, u64 val)return 0 ; inject: -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 ); }
Signature · 7 lines
1.7.5.4 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 17 lines · Wanpeng Li
Changelog:
v1 -> v2:
* removeKERN_INFOinpr_info().Add '#' to
hwpoison_injectjust as done inmadvise_hwpoison.Reviewed-by Naoya Horiguchi <[email protected]>Signed-off-by Wanpeng Li <[email protected]>--- mm/hwpoison-inject.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)mm/hwpoison-inject.c +0
-0
mm/hwpoison-inject.c static int hwpoison_inject(void *data, u64 val) · line 60
Quoted 7 lines
mm/hwpoison-inject.c +1
-1@@ -55,7 +55,7 @@ static int hwpoison_inject(void *data, u64 val)return 0 ; inject: -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 ); }
Reviewed-by Vladimir Murzin <[email protected]>
Quoted 4 lines
Signature · 2 lines
-- 1.7.5.4
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>