diff options
author | 2021-12-16 18:14:49 +0800 | |
---|---|---|
committer | 2022-01-05 00:19:28 -0500 | |
commit | aa7069d840dab6bef4887657b94e439c82ae985a (patch) | |
tree | 6455b555ae956d88d3208c1d84987c208a218156 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scsi: mpi3mr: Bump driver version to 8.0.0.61.0 (diff) | |
download | linux-dev-aa7069d840dab6bef4887657b94e439c82ae985a.tar.xz linux-dev-aa7069d840dab6bef4887657b94e439c82ae985a.zip |
scsi: qedf: Fix potential dereference of NULL pointer
The return value of dma_alloc_coherent() needs to be checked to avoid use
of NULL pointer in case of an allocation failure.
Link: https://lore.kernel.org/r/20211216101449.375953-1-jiasheng@iscas.ac.cn
Fixes: 61d8658b4a43 ("scsi: qedf: Add QLogic FastLinQ offload FCoE driver framework.")
Acked-by: Saurav Kashyap <skashyap@marvell.com>
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions