mm/hwpoison: add '#' to hwpoison_inject
authorWanpeng Li <liwanp@linux.vnet.ibm.com>
Tue, 21 Jan 2014 23:50:56 +0000 (15:50 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 22 Jan 2014 00:19:48 +0000 (16:19 -0800)
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>
mm/hwpoison-inject.c

index 4c84678371eb5b5905cc8c4386b512ec57e4f5e3..95487c71cad59737994d77e1d47c1ff07a7d4365 100644 (file)
@@ -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);
 }