lkml.org 
[lkml]   [2013]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] mm/hwpoison: add '#' to hwpoison_inject
On Tue, Dec 10, 2013 at 07:45:57AM +0800, Wanpeng Li wrote:
> 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);
> }

Reviewed-by: Vladimir Murzin <murzin.v@gmail.com>

>
> --
> 1.7.5.4
>


\
 
 \ /
  Last update: 2013-12-10 03:41    [W:0.053 / U:0.740 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site