Skip to contentSkip to conversation

powerpc: wrong error message for e500

PATCH New Jérôme Arzel 1 participant 1 message May 23, 2013 1 message not in the archive PowerPC

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 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.

---

arch/powerpc/kernel/traps.c +1 -1
@@ -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)