We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbff7f1 commit db1f278Copy full SHA for db1f278
drivers/scsi/qla2xxx/qla_init.c
@@ -591,12 +591,14 @@ static void qla24xx_handle_gnl_done_event(scsi_qla_host_t *vha,
591
conflict_fcport =
592
qla2x00_find_fcport_by_wwpn(vha,
593
e->port_name, 0);
594
- ql_dbg(ql_dbg_disc, vha, 0x20e6,
595
- "%s %d %8phC post del sess\n",
596
- __func__, __LINE__,
597
- conflict_fcport->port_name);
598
- qlt_schedule_sess_for_deletion
599
- (conflict_fcport);
+ if (conflict_fcport) {
+ qlt_schedule_sess_for_deletion
+ (conflict_fcport);
+ ql_dbg(ql_dbg_disc, vha, 0x20e6,
+ "%s %d %8phC post del sess\n",
+ __func__, __LINE__,
600
+ conflict_fcport->port_name);
601
+ }
602
}
603
604
/* FW already picked this loop id for another fcport */
0 commit comments