]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm/hwpoison: add '#' to hwpoison_inject
authorWanpeng Li <liwanp@linux.vnet.ibm.com>
Mon, 16 Dec 2013 23:45:14 +0000 (10:45 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 16 Dec 2013 23:45:14 +0000 (10:45 +1100)
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>
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);
 }