Skip to content
GitLab
  • Explore
  • Sign in
  • Register
  • xenomaixenomai
  • ipipe-x86
  • Repository
  • ipipe-x86
  • arch
  • x86
  • mm
  • memtest.c
Find file Blame History Permalink
  • Daniele Calore's avatar
    x86: memtest fix use of reserve_early() · 2cb0ebee
    Daniele Calore authored Oct 13, 2008
    
    
    Hi all,
    
    Wrong usage of 2nd parameter in reserve_early call.
    66/75: reserve_early(start_bad, last_bad - start_bad, "BAD RAM");
                                    ^^^^^^^^^^^^^^^^^^^^
    
    The correct way is to use 'end' address and not 'size'.
    As a bonus a fix to the printk format.
    
    Signed-off-by: default avatarDaniele Calore <orkaan@orkaan.org>
    Acked-by: default avatarYinghai Lu <yinghai@kernel.org>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    2cb0ebee

Imprint & Privacy Policy