mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-29 18:00:18 +00:00
qla2x00t: Insert a space where the coding standard requires one
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7461 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1583,7 +1583,7 @@ qla2x00_fdmi_rpa(scsi_qla_host_t *vha)
|
||||
FDMI_PORT_SPEED_1GB|FDMI_PORT_SPEED_2GB|
|
||||
FDMI_PORT_SPEED_4GB);
|
||||
else if (IS_QLA23XX(ha))
|
||||
eiter->a.sup_speed =cpu_to_be32(
|
||||
eiter->a.sup_speed = cpu_to_be32(
|
||||
FDMI_PORT_SPEED_1GB|FDMI_PORT_SPEED_2GB);
|
||||
else
|
||||
eiter->a.sup_speed = cpu_to_be32(FDMI_PORT_SPEED_1GB);
|
||||
|
||||
@@ -2025,7 +2025,7 @@ qla2x00_logout_iocb(srb_t *sp, struct mbx_entry *mbx)
|
||||
SET_TARGET_ID(ha, mbx->loop_id, sp->fcport->loop_id);
|
||||
mbx->mb0 = cpu_to_le16(MBC_LOGOUT_FABRIC_PORT);
|
||||
mbx->mb1 = HAS_EXTENDED_IDS(ha) ?
|
||||
cpu_to_le16(sp->fcport->loop_id):
|
||||
cpu_to_le16(sp->fcport->loop_id) :
|
||||
cpu_to_le16(sp->fcport->loop_id << 8);
|
||||
mbx->mb2 = cpu_to_le16(sp->fcport->d_id.b.domain);
|
||||
mbx->mb3 = cpu_to_le16(sp->fcport->d_id.b.area << 8 |
|
||||
@@ -2706,12 +2706,12 @@ qla2x00_start_sp(srb_t *sp)
|
||||
switch (sp->type) {
|
||||
case SRB_LOGIN_CMD:
|
||||
IS_FWI2_CAPABLE(ha) ?
|
||||
qla24xx_login_iocb(sp, pkt):
|
||||
qla24xx_login_iocb(sp, pkt) :
|
||||
qla2x00_login_iocb(sp, pkt);
|
||||
break;
|
||||
case SRB_LOGOUT_CMD:
|
||||
IS_FWI2_CAPABLE(ha) ?
|
||||
qla24xx_logout_iocb(sp, pkt):
|
||||
qla24xx_logout_iocb(sp, pkt) :
|
||||
qla2x00_logout_iocb(sp, pkt);
|
||||
break;
|
||||
case SRB_ELS_CMD_RPT:
|
||||
@@ -2725,7 +2725,7 @@ qla2x00_start_sp(srb_t *sp)
|
||||
break;
|
||||
case SRB_ADISC_CMD:
|
||||
IS_FWI2_CAPABLE(ha) ?
|
||||
qla24xx_adisc_iocb(sp, pkt):
|
||||
qla24xx_adisc_iocb(sp, pkt) :
|
||||
qla2x00_adisc_iocb(sp, pkt);
|
||||
break;
|
||||
case SRB_TM_CMD:
|
||||
|
||||
@@ -1012,7 +1012,7 @@ qla2x00_mbx_iocb_entry(scsi_qla_host_t *vha, struct req_que *req,
|
||||
|
||||
data[0] = MBS_COMMAND_ERROR;
|
||||
data[1] = lio->u.logio.flags & SRB_LOGIN_RETRIED ?
|
||||
QLA_LOGIO_LOGIN_RETRIED: 0;
|
||||
QLA_LOGIO_LOGIN_RETRIED : 0;
|
||||
if (mbx->entry_status) {
|
||||
ql_dbg(ql_dbg_async, vha, 0x5043,
|
||||
"Async-%s error entry - hdl=%x portid=%02x%02x%02x "
|
||||
@@ -1286,7 +1286,7 @@ qla24xx_logio_entry(scsi_qla_host_t *vha, struct req_que *req,
|
||||
|
||||
data[0] = MBS_COMMAND_ERROR;
|
||||
data[1] = lio->u.logio.flags & SRB_LOGIN_RETRIED ?
|
||||
QLA_LOGIO_LOGIN_RETRIED: 0;
|
||||
QLA_LOGIO_LOGIN_RETRIED : 0;
|
||||
if (logio->entry_status) {
|
||||
ql_log(ql_log_warn, fcport->vha, 0x5034,
|
||||
"Async-%s error entry - hdl=%x"
|
||||
|
||||
@@ -900,7 +900,7 @@ qla2xxx_get_fdt_info(scsi_qla_host_t *vha)
|
||||
ha->fdt_unprotect_sec_cmd = flash_conf_addr(ha, 0x0300 |
|
||||
fdt->unprotect_sec_cmd);
|
||||
ha->fdt_protect_sec_cmd = fdt->protect_sec_cmd ?
|
||||
flash_conf_addr(ha, 0x0300 | fdt->protect_sec_cmd):
|
||||
flash_conf_addr(ha, 0x0300 | fdt->protect_sec_cmd) :
|
||||
flash_conf_addr(ha, 0x0336);
|
||||
}
|
||||
goto done;
|
||||
|
||||
Reference in New Issue
Block a user