diff options
author | 2018-01-15 20:46:48 -0800 | |
---|---|---|
committer | 2018-01-17 01:34:24 -0500 | |
commit | 7ac0c332f96bb9688560726f5e80c097ed8de59a (patch) | |
tree | e84cba835f0e67de16a60f70ae45d6d44ef6add5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scsi: qla2xxx: Fix recursion while sending terminate exchange (diff) | |
download | wireguard-linux-7ac0c332f96bb9688560726f5e80c097ed8de59a.tar.xz wireguard-linux-7ac0c332f96bb9688560726f5e80c097ed8de59a.zip |
scsi: qla2xxx: Fix warning in qla2x00_async_iocb_timeout()
This patch fixes following Smatch warning:
drivers/scsi/qla2xxx/qla_init.c:130 qla2x00_async_iocb_timeout() error: we previously assumed 'fcport' could be null (see line 107)
Fixes: 5c25d451163c ("scsi: qla2xxx: Fix NULL pointer access for fcport structure")
Reported by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
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