Thread (3 messages) 3 messages, 2 authors, 2023-12-04

Re: [PATCH v2] powerpc/mm: Fix null-pointer dereference in pgtable_cache_add

From: Kunwu Chan <hidden>
Date: 2023-12-04 02:28:04
Also in: lkml

Sure,i'll follow your suggestion in v3 patch:
1. set new to NULL
2. add a 'if' judgment before 'kmem_cache_create'

Thanks,
Kunwu

On 2023/12/1 18:17, Michael Ellerman wrote:
avoid two calls to panic
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help