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 e27f051 commit 6f808bdCopy full SHA for 6f808bd
drivers/scsi/lpfc/lpfc_scsi.c
@@ -6062,6 +6062,9 @@ lpfc_device_reset_handler(struct scsi_cmnd *cmnd)
6062
int status;
6063
u32 logit = LOG_FCP;
6064
6065
+ if (!rport)
6066
+ return FAILED;
6067
+
6068
rdata = rport->dd_data;
6069
if (!rdata || !rdata->pnode) {
6070
lpfc_printf_vlog(vport, KERN_ERR, LOG_TRACE_EVENT,
@@ -6140,6 +6143,9 @@ lpfc_target_reset_handler(struct scsi_cmnd *cmnd)
6140
6143
unsigned long flags;
6141
6144
DECLARE_WAIT_QUEUE_HEAD_ONSTACK(waitq);
6142
6145
6146
6147
6148
6149
6150
6151
0 commit comments