lkml.org 
[lkml]   [2013]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] powerpc: wrong error message for e500
    If there is a bus error while machine check for e500,
    the MCSR_BUS_WBERR error type prints a read error message
    instead of a write error.

    Signed-off-by: Jérôme Arzel <jerome.arzel@gnuside.com>
    ---
    --- a/arch/powerpc/kernel/traps.c
    +++ b/arch/powerpc/kernel/traps.c
    @@ -589,7 +589,7 @@ int machine_check_e500(struct pt_regs *r
    if (reason & MCSR_BUS_RBERR)
    printk("Bus - Read Data Bus Error\n");
    if (reason & MCSR_BUS_WBERR)
    - printk("Bus - Read Data Bus Error\n");
    + printk("Bus - Write Bus Error\n");
    if (reason & MCSR_BUS_IPERR)
    printk("Bus - Instruction Parity Error\n");
    if (reason & MCSR_BUS_RPERR)
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2013-05-23 18:01    [W:2.583 / U:0.812 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site