projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
scsi
/
bnx2fc
/
bnx2fc_io.c
diff --git
a/drivers/scsi/bnx2fc/bnx2fc_io.c
b/drivers/scsi/bnx2fc/bnx2fc_io.c
index 5dc4205ed8afbb948263d12df3546401249dc2a7..45eba6d609c9a6f8d989941329636b79fd94b19a 100644
(file)
--- a/
drivers/scsi/bnx2fc/bnx2fc_io.c
+++ b/
drivers/scsi/bnx2fc/bnx2fc_io.c
@@
-1743,7
+1743,6
@@
void bnx2fc_process_scsi_cmd_compl(struct bnx2fc_cmd *io_req,
printk(KERN_ERR PFX "SCp.ptr is NULL\n");
return;
}
- io_req->sc_cmd = NULL;
if (io_req->on_active_queue) {
list_del_init(&io_req->link);
@@
-1763,6
+1762,7
@@
void bnx2fc_process_scsi_cmd_compl(struct bnx2fc_cmd *io_req,
}
bnx2fc_unmap_sg_list(io_req);
+ io_req->sc_cmd = NULL;
switch (io_req->fcp_status) {
case FC_GOOD: