[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <48p3cb04HBz9sSV@ozlabs.org>
Date: Thu, 26 Mar 2020 23:06:38 +1100 (AEDT)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Christophe Leroy <christophe.leroy@....fr>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] powerpc/kasan: Fix kasan_remap_early_shadow_ro()
On Fri, 2020-03-06 at 15:09:40 UTC, Christophe Leroy wrote:
> At the moment kasan_remap_early_shadow_ro() does nothing, because
> k_end is 0 and k_cur < 0 is always true.
>
> Change the test to k_cur != k_end, as done in
> kasan_init_shadow_page_tables()
>
> Signed-off-by: Christophe Leroy <christophe.leroy@....fr>
> Fixes: cbd18991e24f ("powerpc/mm: Fix an Oops in kasan_mmu_init()")
> Cc: stable@...r.kernel.org
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/af92bad615be75c6c0d1b1c5b48178360250a187
cheers
Powered by blists - more mailing lists