diff options
Diffstat (limited to 'drivers/scsi/aic7xxx/aic7xxx_proc.c')
-rw-r--r-- | drivers/scsi/aic7xxx/aic7xxx_proc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/aic7xxx/aic7xxx_proc.c b/drivers/scsi/aic7xxx/aic7xxx_proc.c index 25511ca2024a..18459605d991 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_proc.c +++ b/drivers/scsi/aic7xxx/aic7xxx_proc.c | |||
@@ -125,9 +125,9 @@ ahc_format_transinfo(struct seq_file *m, struct ahc_transinfo *tinfo) | |||
125 | } | 125 | } |
126 | seq_printf(m, "%dbit)", 8 * (0x01 << tinfo->width)); | 126 | seq_printf(m, "%dbit)", 8 * (0x01 << tinfo->width)); |
127 | } else if (freq != 0) { | 127 | } else if (freq != 0) { |
128 | seq_puts(m, ")"); | 128 | seq_putc(m, ')'); |
129 | } | 129 | } |
130 | seq_puts(m, "\n"); | 130 | seq_putc(m, '\n'); |
131 | } | 131 | } |
132 | 132 | ||
133 | static void | 133 | static void |
@@ -308,14 +308,14 @@ ahc_linux_show_info(struct seq_file *m, struct Scsi_Host *shost) | |||
308 | seq_puts(m, "Serial EEPROM:\n"); | 308 | seq_puts(m, "Serial EEPROM:\n"); |
309 | for (i = 0; i < sizeof(*ahc->seep_config)/2; i++) { | 309 | for (i = 0; i < sizeof(*ahc->seep_config)/2; i++) { |
310 | if (((i % 8) == 0) && (i != 0)) { | 310 | if (((i % 8) == 0) && (i != 0)) { |
311 | seq_puts(m, "\n"); | 311 | seq_putc(m, '\n'); |
312 | } | 312 | } |
313 | seq_printf(m, "0x%.4x ", | 313 | seq_printf(m, "0x%.4x ", |
314 | ((uint16_t*)ahc->seep_config)[i]); | 314 | ((uint16_t*)ahc->seep_config)[i]); |
315 | } | 315 | } |
316 | seq_puts(m, "\n"); | 316 | seq_putc(m, '\n'); |
317 | } | 317 | } |
318 | seq_puts(m, "\n"); | 318 | seq_putc(m, '\n'); |
319 | 319 | ||
320 | max_targ = 16; | 320 | max_targ = 16; |
321 | if ((ahc->features & (AHC_WIDE|AHC_TWIN)) == 0) | 321 | if ((ahc->features & (AHC_WIDE|AHC_TWIN)) == 0) |