On 11/30/20 12:23 AM, tangzhenhao wrote: > At line 294 in drivers/lightnvm/pblk-write.c, function pblk_gen_run_ws > is called with actual param GFP_ATOMIC. pblk_gen_run_ws call > mempool_alloc using "GFP_ATOMIC" flag, so mempool_alloc can return > null. So we need to check the return-val of mempool_alloc to avoid > null-ptr-deref bug. Please line-break at 72/74 chars for future patches, I fixed this one up. Applied for 5.11, thanks. -- Jens Axboe