diff options
author | Varun Prakash <[email protected]> | 2019-12-18 19:15:31 +0530 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2019-12-19 18:48:26 -0500 |
commit | 71482fde704efdd8c3abe0faf34d922c61e8d76b (patch) | |
tree | 8552373a938dbfee3853a6ec64adae22052fe702 /scripts/gdb/vmlinux-gdb.py | |
parent | 291c2548458d3a8b326bfa8d7abbba86e036faf7 (diff) |
scsi: libcxgbi: fix NULL pointer dereference in cxgbi_device_destroy()
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/[email protected]
Signed-off-by: Varun Prakash <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions