public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] mm/hwpoison: add '#' to hwpoison_inject
@ 2013-12-09 23:45 Wanpeng Li
  2013-12-10  2:31 ` Vladimir Murzin
  0 siblings, 1 reply; 2+ messages in thread
From: Wanpeng Li @ 2013-12-09 23:45 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Andi Kleen, Naoya Horiguchi, linux-mm, linux-kernel,
	Vladimir Murzin, Wanpeng Li

Changelog:
 v1 -> v2:
  * remove KERN_INFO in pr_info().

Add '#' to hwpoison_inject just as done in madvise_hwpoison.

Reviewed-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
---
 mm/hwpoison-inject.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mm/hwpoison-inject.c b/mm/hwpoison-inject.c
index 4c84678..95487c7 100644
--- a/mm/hwpoison-inject.c
+++ b/mm/hwpoison-inject.c
@@ -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);
 }
 
-- 
1.7.5.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-10  2:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-09 23:45 [PATCH v2] mm/hwpoison: add '#' to hwpoison_inject Wanpeng Li
2013-12-10  2:31 ` Vladimir Murzin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox