powerpc/traps/e500: fix misleading error output
authorWladislav Wiebe <wladislav.kw@gmail.com>
Tue, 17 Jun 2014 13:30:53 +0000 (15:30 +0200)
committerScott Wood <scottwood@freescale.com>
Wed, 25 Jun 2014 23:49:38 +0000 (18:49 -0500)
In machine_check_e500 exception handler is a wrong indication
in case of MCSR_BUS_WBERR - so print "Write" instead of "Read".

Signed-off-by: Wladislav Wiebe <wladislav.kw@gmail.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/kernel/traps.c

index 239f1cde3fff161b8f4b9cfc56beff61d9143845..cb9cfe448ee8ad2a5f035b8e25fa7776a96ca769 100644 (file)
@@ -609,7 +609,7 @@ int machine_check_e500(struct pt_regs *regs)
        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 Data Bus Error\n");
        if (reason & MCSR_BUS_IPERR)
                printk("Bus - Instruction Parity Error\n");
        if (reason & MCSR_BUS_RPERR)
This page took 0.026173 seconds and 5 git commands to generate.