[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1386632757-11783-1-git-send-email-liwanp@linux.vnet.ibm.com>
Date: Tue, 10 Dec 2013 07:45:57 +0800
From: Wanpeng Li <liwanp@...ux.vnet.ibm.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Andi Kleen <andi@...stfloor.org>,
Naoya Horiguchi <n-horiguchi@...jp.nec.com>,
linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Vladimir Murzin <murzin.v@...il.com>,
Wanpeng Li <liwanp@...ux.vnet.ibm.com>
Subject: [PATCH v2] 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 <n-horiguchi@...jp.nec.com>
Signed-off-by: Wanpeng Li <liwanp@...ux.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists