summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qedf/qedf_els.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-05-03 21:17:55 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-05-09 03:48:31 +0200
commit87ea6bdd8da88842a8247921f58ca495b4da79ef (patch)
treea79d46eddc233f9663c91e2a5f75cc9b1c74e062 /drivers/scsi/qedf/qedf_els.c
parentscsi: scsi_lib: Add #include <scsi/scsi_transport.h> (diff)
downloadlinux-87ea6bdd8da88842a8247921f58ca495b4da79ef.tar.xz
linux-87ea6bdd8da88842a8247921f58ca495b4da79ef.zip
scsi: qedf: properly update arguments position in function call
Properly update the position of the arguments in function call. Addresses-Coverity-ID: 1402010 Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Acked-by: Chad Dupuis <chad.dupuis@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qedf/qedf_els.c')
-rw-r--r--drivers/scsi/qedf/qedf_els.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qedf/qedf_els.c b/drivers/scsi/qedf/qedf_els.c
index c505d41f6dc8..90627033bde6 100644
--- a/drivers/scsi/qedf/qedf_els.c
+++ b/drivers/scsi/qedf/qedf_els.c
@@ -109,7 +109,7 @@ retry_els:
did = fcport->rdata->ids.port_id;
sid = fcport->sid;
- __fc_fill_fc_hdr(fc_hdr, FC_RCTL_ELS_REQ, sid, did,
+ __fc_fill_fc_hdr(fc_hdr, FC_RCTL_ELS_REQ, did, sid,
FC_TYPE_ELS, FC_FC_FIRST_SEQ | FC_FC_END_SEQ |
FC_FC_SEQ_INIT, 0);