]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Jul 2019 07:13:06 +0000 (09:13 +0200)
commitfe4be55d069c0aed2a095960519627dae503b1bf
tree9ad4f1f51ff4a0a91110ce62aeaac6ddd3ab6fa3
parentd991b26df4d13a77a4487bc0bb9e83ce74438404
powerpc/mm/32s: fix condition that is always true

commit 46c2478af610efb3212b8b08f74389d69899ef70 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/mm/pgtable_32.c