aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-07-02 09:18:35 +0000
committerMartin K. Petersen <[email protected]>2019-07-17 02:32:24 +0000
commit41a6bf6529edd10a6def42e3b2c34a7474bcc2f5 (patch)
tree1e535421115577c1c24409a712a23a31124eed2f /tools/perf/scripts/python
parentscsi: zfcp: fix GCC compiler warning emitted with -Wmaybe-uninitialized (diff)
downloadkernel-41a6bf6529edd10a6def42e3b2c34a7474bcc2f5.tar.gz
kernel-41a6bf6529edd10a6def42e3b2c34a7474bcc2f5.zip
scsi: libfc: fix null pointer dereference on a null lport
Currently if lport is null then the null lport pointer is dereference when printing out debug via the FC_LPORT_DB macro. Fix this by using the more generic FC_LIBFC_DBG debug macro instead that does not use lport. Addresses-Coverity: ("Dereference after null check") Fixes: 7414705ea4ae ("libfc: Add runtime debugging with debug_logging module parameter") Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions