scsi: qedf: properly update arguments position in function call
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/scsi/qedf/qedf_els.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/qedf/qedf_els.c +1 -1
@@ -106,7 +106,7 @@ static int qedf_initiate_els(struct qedf_rport *fcport, unsigned int op, 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 );
Signature · 1 line
2.5.0
Quoted 14 lines · Gustavo A. R. Silva
Properly update the position of the arguments in function call.
Addresses-Coverity-ID: 1402010
Signed-off-by Gustavo A. R. Silva <[email protected]>--- drivers/scsi/qedf/qedf_els.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/scsi/qedf/qedf_els.c +0
-0
drivers/scsi/qedf/qedf_els.c static int qedf_initiate_els(struct qedf_rport *fcport, unsigned int op, · line 112
Quoted 8 lines
drivers/scsi/qedf/qedf_els.c +1
-1@@ -106,7 +106,7 @@ static int qedf_initiate_els(struct qedf_rport *fcport, unsigned int op, 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 );
Thanks.
Acked-by Chad Dupuis <[email protected]>
Martin K. Petersen
AppliedGustavo A.,
Quoted 1 line
Properly update the position of the arguments in function call.
Applied to 4.12/scsi-fixes, thank you!
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering
Hi Martin,
Quoting "Martin K. Petersen" <[email protected]>:
Quoted 6 lines
Gustavo A.,
Quoted 1 line
Properly update the position of the arguments in function call.
Applied to 4.12/scsi-fixes, thank you!
Awesome, glad to help. :)
--
Gustavo A. R. Silva