[PATCH] arm64: mm: Clarify a printk in data_abort_decode()

Dan Carpenter dan.carpenter at oracle.com
Thu Oct 5 05:59:14 PDT 2017


The 0x in front of a base 10 number is misleading so I removed it.

Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

diff --git a/arch/arm64/mm/fault.c b/arch/arm64/mm/fault.c
index 89993c4be1be..a5382e90418c 100644
--- a/arch/arm64/mm/fault.c
+++ b/arch/arm64/mm/fault.c
@@ -97,7 +97,7 @@ static void data_abort_decode(unsigned int esr)
 			 (esr & ESR_ELx_SF) >> ESR_ELx_SF_SHIFT,
 			 (esr & ESR_ELx_AR) >> ESR_ELx_AR_SHIFT);
 	} else {
-		pr_alert("  ISV = 0, ISS = 0x%08lu\n", esr & ESR_ELx_ISS_MASK);
+		pr_alert("  ISV = 0, ISS = %08lu\n", esr & ESR_ELx_ISS_MASK);
 	}
 
 	pr_alert("  CM = %lu, WnR = %lu\n",



More information about the linux-arm-kernel mailing list