summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorVarun Prakash <varun@chelsio.com>2019-12-18 19:15:31 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-23 08:19:37 +0100
commit379b0a927d34d979064dd6e593024ebb7466d7fa (patch)
tree522b6728da3186644a480b254d88920de3a0c9eb /tools
parent19f326178dce03ad7b3e308db5a59037d7c3c2ba (diff)
scsi: libcxgbi: fix NULL pointer dereference in cxgbi_device_destroy()
[ Upstream commit 71482fde704efdd8c3abe0faf34d922c61e8d76b ] If cxgb4i_ddp_init() fails then cdev->cdev2ppm will be NULL, so add a check for NULL pointer before dereferencing it. Link: https://lore.kernel.org/r/1576676731-3068-1-git-send-email-varun@chelsio.com Signed-off-by: Varun Prakash <varun@chelsio.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions