]> git.baikalelectronics.ru Git - kernel.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)
commit80438ac096bfe9432f6f52e038b85f901e26e287
tree7e52136acb5f0f32cfccf610225d28f8bdf1c1f0
parent09e145846cc2b72c8e5962211a2614cc2d1b341f
powerpc/mm/32s: fix condition that is always true

Move a misplaced paren that makes the condition always true.

Fixes: e9a9bd9f1407 ("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