diff options
author | Wanpeng Li <liwanp@linux.vnet.ibm.com> | 2014-01-22 00:50:56 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-22 01:19:48 +0100 |
commit | 4883e997b26ed857da8dae6a6e6aeb12830b978d (patch) | |
tree | d85f1d29d644c7a21199375940f6e90f66f767eb /mm/hwpoison-inject.c | |
parent | mm/memblock: use WARN_ONCE when MAX_NUMNODES passed as input parameter (diff) | |
download | linux-4883e997b26ed857da8dae6a6e6aeb12830b978d.tar.xz linux-4883e997b26ed857da8dae6a6e6aeb12830b978d.zip |
mm/hwpoison: add '#' to hwpoison_inject
Add '#' to hwpoison_inject just as done in madvise_hwpoison.
Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Reviewed-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Reviewed-by: Vladimir Murzin <murzin.v@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/hwpoison-inject.c')
-rw-r--r-- | 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 4c84678371eb..95487c71cad5 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); } |