aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/advansys.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/advansys.c')
-rw-r--r--drivers/scsi/advansys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/advansys.c b/drivers/scsi/advansys.c
index e716d0aef194..43761c1c46f0 100644
--- a/drivers/scsi/advansys.c
+++ b/drivers/scsi/advansys.c
@@ -2512,7 +2512,7 @@ static void asc_prt_scsi_host(struct Scsi_Host *s)
2512 2512
2513 printk("Scsi_Host at addr 0x%p, device %s\n", s, dev_name(boardp->dev)); 2513 printk("Scsi_Host at addr 0x%p, device %s\n", s, dev_name(boardp->dev));
2514 printk(" host_busy %u, host_no %d,\n", 2514 printk(" host_busy %u, host_no %d,\n",
2515 s->host_busy, s->host_no); 2515 atomic_read(&s->host_busy), s->host_no);
2516 2516
2517 printk(" base 0x%lx, io_port 0x%lx, irq %d,\n", 2517 printk(" base 0x%lx, io_port 0x%lx, irq %d,\n",
2518 (ulong)s->base, (ulong)s->io_port, boardp->irq); 2518 (ulong)s->base, (ulong)s->io_port, boardp->irq);
@@ -3346,7 +3346,7 @@ static void asc_prt_driver_conf(struct seq_file *m, struct Scsi_Host *shost)
3346 3346
3347 seq_printf(m, 3347 seq_printf(m,
3348 " host_busy %u, max_id %u, max_lun %llu, max_channel %u\n", 3348 " host_busy %u, max_id %u, max_lun %llu, max_channel %u\n",
3349 shost->host_busy, shost->max_id, 3349 atomic_read(&shost->host_busy), shost->max_id,
3350 shost->max_lun, shost->max_channel); 3350 shost->max_lun, shost->max_channel);
3351 3351
3352 seq_printf(m, 3352 seq_printf(m,