[ 656.175800] BUG: unable to handle kernel NULL pointer dereference at (null) [ 656.183656] IP: [<ffffffff8880f13b>] dma_pool_alloc+0x1ab/0x280 [ 656.189596] PGD 0 [ 656.191638] Oops: 0000 [#1] SMP [..] [ 656.307084] CPU: 18 PID: 17160 Comm: kworker/18:2 Kdump: loaded Tainted...
Avoid double-memset of the same allocated memory in dma_pool_alloc() when both DMAPOOL_DEBUG is enabled and init_on_alloc=1. Link: https://lkml.kernel.org/r/20230126215125.4069751-6-kbusch@meta.com Fixes: 2d55c16 ("dmapool: create/destroy cleanup") Signed-off-by: Tony Battersby <ton...