powerpc/powernv: Fix minor off-by-one error in opal_mce_check_early_recovery()
authorAndrew Donnellan <andrew.donnellan@au1.ibm.com>
Mon, 21 Dec 2015 07:28:37 +0000 (18:28 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 27 Dec 2015 08:12:41 +0000 (19:12 +1100)
commitdc3799bb9ab2666fa19081121f05a4e573ecae12
tree1bd9faa7339cf950c9f532fff37938215c842669
parent759fb100b22473bebc46a0f10ca1af5acd79439d
powerpc/powernv: Fix minor off-by-one error in opal_mce_check_early_recovery()

Fix off-by-one error in opal_mce_check_early_recovery() when checking
whether the NIP falls within OPAL space.

Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/opal.c