Re: [PATCH] powerpc/book3e: drop BUG_ON() in map_kernel_page()

2019-05-03 Thread Michael Ellerman
On Thu, 2019-03-28 at 13:03:45 UTC, Christophe Leroy wrote: > early_alloc_pgtable() never returns NULL as it panics on failure. > > This patch drops the three BUG_ON() which check the non nullity > of early_alloc_pgtable() returned value. > > Signed-off-by: Christophe Leroy Applied to powerpc

[PATCH] powerpc/book3e: drop BUG_ON() in map_kernel_page()

2019-03-28 Thread Christophe Leroy
early_alloc_pgtable() never returns NULL as it panics on failure. This patch drops the three BUG_ON() which check the non nullity of early_alloc_pgtable() returned value. Signed-off-by: Christophe Leroy --- arch/powerpc/mm/pgtable-book3e.c | 3 --- 1 file changed, 3 deletions(-) diff --git