summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ips.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/ips.c')
-rw-r--r--drivers/scsi/ips.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/scsi/ips.c b/drivers/scsi/ips.c
index e5c28435d768..615a9a3d1e0a 100644
--- a/drivers/scsi/ips.c
+++ b/drivers/scsi/ips.c
@@ -2038,15 +2038,14 @@ ips_host_info(ips_ha_t *ha, struct seq_file *m)
2038{ 2038{
2039 METHOD_TRACE("ips_host_info", 1); 2039 METHOD_TRACE("ips_host_info", 1);
2040 2040
2041 seq_printf(m, "\nIBM ServeRAID General Information:\n\n"); 2041 seq_puts(m, "\nIBM ServeRAID General Information:\n\n");
2042 2042
2043 if ((le32_to_cpu(ha->nvram->signature) == IPS_NVRAM_P5_SIG) && 2043 if ((le32_to_cpu(ha->nvram->signature) == IPS_NVRAM_P5_SIG) &&
2044 (le16_to_cpu(ha->nvram->adapter_type) != 0)) 2044 (le16_to_cpu(ha->nvram->adapter_type) != 0))
2045 seq_printf(m, "\tController Type : %s\n", 2045 seq_printf(m, "\tController Type : %s\n",
2046 ips_adapter_name[ha->ad_type - 1]); 2046 ips_adapter_name[ha->ad_type - 1]);
2047 else 2047 else
2048 seq_printf(m, 2048 seq_puts(m, "\tController Type : Unknown\n");
2049 "\tController Type : Unknown\n");
2050 2049
2051 if (ha->io_addr) 2050 if (ha->io_addr)
2052 seq_printf(m, 2051 seq_printf(m,
@@ -2138,7 +2137,7 @@ ips_host_info(ips_ha_t *ha, struct seq_file *m)
2138 seq_printf(m, "\tCurrent Active PT Commands : %d\n", 2137 seq_printf(m, "\tCurrent Active PT Commands : %d\n",
2139 ha->num_ioctl); 2138 ha->num_ioctl);
2140 2139
2141 seq_printf(m, "\n"); 2140 seq_puts(m, "\n");
2142 2141
2143 return 0; 2142 return 0;
2144} 2143}