mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 20:51:27 +00:00
qla2x00t: Insert a space where the coding standard requires one
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7460 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2280,7 +2280,7 @@ qla2x00_get_host_port_state(struct Scsi_Host *shost)
|
||||
fc_host_port_state(shost) = FC_PORTSTATE_DIAGNOSTICS;
|
||||
break;
|
||||
case LOOP_DOWN:
|
||||
if(test_bit(LOOP_RESYNC_NEEDED, &base_vha->dpc_flags))
|
||||
if (test_bit(LOOP_RESYNC_NEEDED, &base_vha->dpc_flags))
|
||||
fc_host_port_state(shost) = FC_PORTSTATE_DIAGNOSTICS;
|
||||
else
|
||||
fc_host_port_state(shost) = FC_PORTSTATE_LINKDOWN;
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#include <linux/bsg-lib.h>
|
||||
#endif
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32)
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 32)
|
||||
#error
|
||||
#error ***This version of qla2xxx does not support distributions based on***
|
||||
#error ***kernels less than 2.6.32.***
|
||||
|
||||
@@ -643,7 +643,7 @@ void
|
||||
qla2x00_get_sym_node_name(scsi_qla_host_t *vha, uint8_t *snn)
|
||||
{
|
||||
struct qla_hw_data *ha = vha->hw;
|
||||
sprintf(snn, "%s FW:v%d.%02d.%02d DVR:v%s",ha->model_number,
|
||||
sprintf(snn, "%s FW:v%d.%02d.%02d DVR:v%s", ha->model_number,
|
||||
ha->fw_major_version, ha->fw_minor_version,
|
||||
ha->fw_subminor_version, qla2x00_version_str);
|
||||
}
|
||||
|
||||
@@ -343,7 +343,7 @@ qla2x00_vp_abort_isp(scsi_qla_host_t *vha)
|
||||
qla24xx_control_vp(vha, VCE_COMMAND_DISABLE_VPS_LOGO_ALL);
|
||||
|
||||
/* See comment in qla24xx_init_vp() */
|
||||
if (qla_ini_mode_enabled(base_vha)){
|
||||
if (qla_ini_mode_enabled(base_vha)) {
|
||||
ql_dbg(ql_dbg_taskm, vha, 0x801d,
|
||||
"Scheduling enable of Vport %d.\n", vha->vp_idx);
|
||||
ret = qla24xx_enable_vp(vha);
|
||||
|
||||
@@ -1647,7 +1647,7 @@ qla82xx_pci_info_str(struct scsi_qla_host *vha, char *str, int str_len)
|
||||
ha->link_width = (lnk >> 4) & 0x3f;
|
||||
|
||||
strlcpy(str, "PCIe (", str_len);
|
||||
strncat(str, "2.5Gb/s ",str_len - (strlen(str)+1));
|
||||
strncat(str, "2.5Gb/s ", str_len - (strlen(str)+1));
|
||||
snprintf(lwstr, sizeof(lwstr), "x%d)", ha->link_width);
|
||||
strncat(str, lwstr, str_len - (strlen(str)+1));
|
||||
return str;
|
||||
|
||||
@@ -4564,7 +4564,7 @@ qla2xxx_pci_mmio_enabled(struct pci_dev *pdev)
|
||||
return PCI_ERS_RESULT_RECOVERED;
|
||||
|
||||
spin_lock_irqsave(&ha->hardware_lock, flags);
|
||||
if (IS_QLA2100(ha) || IS_QLA2200(ha)){
|
||||
if (IS_QLA2100(ha) || IS_QLA2200(ha)) {
|
||||
stat = RD_REG_DWORD(®->hccr);
|
||||
if (stat & HCCR_RISC_PAUSE)
|
||||
risc_paused = 1;
|
||||
|
||||
Reference in New Issue
Block a user