]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
powerpc/mm/32s: fix condition that is always true
authorAndreas Schwab <schwab@linux-m68k.org>
Mon, 17 Jun 2019 21:22:20 +0000 (23:22 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 19 Jun 2019 10:05:08 +0000 (20:05 +1000)
commit46c2478af610efb3212b8b08f74389d69899ef70
tree7e52136acb5f0f32cfccf610225d28f8bdf1c1f0
parent6ecb78ef56e08d2119d337ae23cb951a640dc52d
powerpc/mm/32s: fix condition that is always true

Move a misplaced paren that makes the condition always true.

Fixes: 63b2bc619565 ("powerpc/mm/32s: Use BATs for STRICT_KERNEL_RWX")
Cc: stable@vger.kernel.org # v5.1+
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Reviewed-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/pgtable_32.c