diff options
Diffstat (limited to 'drivers/scsi/libfc/fc_lport.c')
-rw-r--r-- | drivers/scsi/libfc/fc_lport.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/libfc/fc_lport.c b/drivers/scsi/libfc/fc_lport.c index 9c1d6b8b24a3..b91a11e4fa06 100644 --- a/drivers/scsi/libfc/fc_lport.c +++ b/drivers/scsi/libfc/fc_lport.c | |||
@@ -1703,8 +1703,10 @@ static int fc_lport_els_request(struct fc_bsg_job *job, | |||
1703 | info->sg = job->reply_payload.sg_list; | 1703 | info->sg = job->reply_payload.sg_list; |
1704 | 1704 | ||
1705 | if (!lport->tt.exch_seq_send(lport, fp, fc_lport_bsg_resp, | 1705 | if (!lport->tt.exch_seq_send(lport, fp, fc_lport_bsg_resp, |
1706 | NULL, info, tov)) | 1706 | NULL, info, tov)) { |
1707 | kfree(info); | ||
1707 | return -ECOMM; | 1708 | return -ECOMM; |
1709 | } | ||
1708 | return 0; | 1710 | return 0; |
1709 | } | 1711 | } |
1710 | 1712 | ||