|
@@ -274,7 +274,7 @@ qla24xx_pci_info_str(struct scsi_qla_host *ha, char *str)
|
|
|
return str;
|
|
|
}
|
|
|
|
|
|
-char *
|
|
|
+static char *
|
|
|
qla2x00_fw_version_str(struct scsi_qla_host *ha, char *str)
|
|
|
{
|
|
|
char un_str[10];
|
|
@@ -312,7 +312,7 @@ qla2x00_fw_version_str(struct scsi_qla_host *ha, char *str)
|
|
|
return (str);
|
|
|
}
|
|
|
|
|
|
-char *
|
|
|
+static char *
|
|
|
qla24xx_fw_version_str(struct scsi_qla_host *ha, char *str)
|
|
|
{
|
|
|
sprintf(str, "%d.%02d.%02d ", ha->fw_major_version,
|
|
@@ -621,7 +621,7 @@ qla2x00_block_error_handler(struct scsi_cmnd *cmnd)
|
|
|
* Note:
|
|
|
* Only return FAILED if command not returned by firmware.
|
|
|
**************************************************************************/
|
|
|
-int
|
|
|
+static int
|
|
|
qla2xxx_eh_abort(struct scsi_cmnd *cmd)
|
|
|
{
|
|
|
scsi_qla_host_t *ha = to_qla_host(cmd->device->host);
|
|
@@ -758,7 +758,7 @@ qla2x00_eh_wait_for_pending_target_commands(scsi_qla_host_t *ha, unsigned int t)
|
|
|
* SUCCESS/FAILURE (defined as macro in scsi.h).
|
|
|
*
|
|
|
**************************************************************************/
|
|
|
-int
|
|
|
+static int
|
|
|
qla2xxx_eh_device_reset(struct scsi_cmnd *cmd)
|
|
|
{
|
|
|
scsi_qla_host_t *ha = to_qla_host(cmd->device->host);
|
|
@@ -889,7 +889,7 @@ qla2x00_eh_wait_for_pending_commands(scsi_qla_host_t *ha)
|
|
|
* SUCCESS/FAILURE (defined as macro in scsi.h).
|
|
|
*
|
|
|
**************************************************************************/
|
|
|
-int
|
|
|
+static int
|
|
|
qla2xxx_eh_bus_reset(struct scsi_cmnd *cmd)
|
|
|
{
|
|
|
scsi_qla_host_t *ha = to_qla_host(cmd->device->host);
|
|
@@ -950,7 +950,7 @@ eh_bus_reset_done:
|
|
|
*
|
|
|
* Note:
|
|
|
**************************************************************************/
|
|
|
-int
|
|
|
+static int
|
|
|
qla2xxx_eh_host_reset(struct scsi_cmnd *cmd)
|
|
|
{
|
|
|
scsi_qla_host_t *ha = to_qla_host(cmd->device->host);
|