Re: [PATCH 01/10] ARM: fix incorrect use of get_kernel_nofault()
From: Ard Biesheuvel <ardb@kernel.org>
Date: 2021-09-21 14:36:02
On Tue, 21 Sept 2021 at 16:02, Russell King (Oracle) [off-list ref] wrote:
On Tue, Sep 21, 2021 at 11:53:59AM +0200, Ard Biesheuvel wrote:quoted
Commit 344179fc7ef4 ("ARM: 9106/1: traps: use get_kernel_nofault instead of set_fs()") replaced an occurrence of __get_user() with get_kernel_nofault(), but inverted the sense of the conditional in the process, resulting in no values to be printed at all. I.e., every exception stack now looks like this: Exception stack(0xc18d1fb0 to 0xc18d1ff8) 1fa0: ???????? ???????? ???????? ???????? 1fc0: ???????? ???????? ???????? ???????? ???????? ???????? ???????? ???????? 1fe0: ???????? ???????? ???????? ???????? ???????? ???????? which is rather unhelpful. Fixes: 344179fc7ef4 ("ARM: 9106/1: traps: use get_kernel_nofault instead of set_fs()") Signed-off-by: Ard Biesheuvel <ardb@kernel.org>This is definitely a bug fix to one of the previous series, and should be independent of the rest of the series. Please put it in the patch system, thanks.
Queued up as 9125/1 -- Ard. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel