Re: [PATCH] scsi: qedf: potential dereference of null pointer
From: Martin K. Petersen
Date: Wed Jan 05 2022 - 00:21:10 EST
Jiasheng,
> The return value of dma_alloc_coherent() needs to be checked.
> To avoid use of null pointer in case of the failure of alloc.
Applied to 5.17/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering