diff options
Diffstat (limited to 'drivers/scsi/advansys.c')
-rw-r--r-- | drivers/scsi/advansys.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/advansys.c b/drivers/scsi/advansys.c index 24e57e770432..713f69033f20 100644 --- a/drivers/scsi/advansys.c +++ b/drivers/scsi/advansys.c | |||
@@ -2416,8 +2416,8 @@ static void asc_prt_scsi_host(struct Scsi_Host *s) | |||
2416 | struct asc_board *boardp = shost_priv(s); | 2416 | struct asc_board *boardp = shost_priv(s); |
2417 | 2417 | ||
2418 | printk("Scsi_Host at addr 0x%p, device %s\n", s, dev_name(boardp->dev)); | 2418 | printk("Scsi_Host at addr 0x%p, device %s\n", s, dev_name(boardp->dev)); |
2419 | printk(" host_busy %u, host_no %d,\n", | 2419 | printk(" host_busy %d, host_no %d,\n", |
2420 | atomic_read(&s->host_busy), s->host_no); | 2420 | scsi_host_busy(s), s->host_no); |
2421 | 2421 | ||
2422 | printk(" base 0x%lx, io_port 0x%lx, irq %d,\n", | 2422 | printk(" base 0x%lx, io_port 0x%lx, irq %d,\n", |
2423 | (ulong)s->base, (ulong)s->io_port, boardp->irq); | 2423 | (ulong)s->base, (ulong)s->io_port, boardp->irq); |
@@ -3182,8 +3182,8 @@ static void asc_prt_driver_conf(struct seq_file *m, struct Scsi_Host *shost) | |||
3182 | shost->host_no); | 3182 | shost->host_no); |
3183 | 3183 | ||
3184 | seq_printf(m, | 3184 | seq_printf(m, |
3185 | " host_busy %u, max_id %u, max_lun %llu, max_channel %u\n", | 3185 | " host_busy %d, max_id %u, max_lun %llu, max_channel %u\n", |
3186 | atomic_read(&shost->host_busy), shost->max_id, | 3186 | scsi_host_busy(shost), shost->max_id, |
3187 | shost->max_lun, shost->max_channel); | 3187 | shost->max_lun, shost->max_channel); |
3188 | 3188 | ||
3189 | seq_printf(m, | 3189 | seq_printf(m, |
@@ -8466,7 +8466,7 @@ static int AdvExeScsiQueue(ADV_DVC_VAR *asc_dvc, adv_req_t *reqp) | |||
8466 | } | 8466 | } |
8467 | 8467 | ||
8468 | /* | 8468 | /* |
8469 | * Execute a single 'Scsi_Cmnd'. | 8469 | * Execute a single 'struct scsi_cmnd'. |
8470 | */ | 8470 | */ |
8471 | static int asc_execute_scsi_cmnd(struct scsi_cmnd *scp) | 8471 | static int asc_execute_scsi_cmnd(struct scsi_cmnd *scp) |
8472 | { | 8472 | { |