Messages in this thread | | | Subject | Re: [PATCH] scsi: qedf: potential dereference of null pointer | From | "Martin K. Petersen" <> | Date | Wed, 05 Jan 2022 00:20:02 -0500 |
| |
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
| |