Re: [PATCH v2 1/2] powerpc/ptdump: Refactor update of st->last_pa

2020-07-27 Thread Michael Ellerman
On Mon, 29 Jun 2020 11:17:18 + (UTC), Christophe Leroy wrote: > st->last_pa is always updated in note_page() so it can > be done outside the if/elseif/else block. Applied to powerpc/next. [1/2] powerpc/ptdump: Refactor update of st->last_pa https://git.kernel.org/powerpc/c/846feeace51bc

[PATCH v2 1/2] powerpc/ptdump: Refactor update of st->last_pa

2020-06-29 Thread Christophe Leroy
st->last_pa is always updated in note_page() so it can be done outside the if/elseif/else block. Signed-off-by: Christophe Leroy --- arch/powerpc/mm/ptdump/ptdump.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/powerpc/mm/ptdump/ptdump.c b/arch/powerpc/mm/ptdump/pt