summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-03-11 03:41:33 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-03-11 03:41:33 +0000
commit3fced8b47c040be51f3d56a004761f240e0180ce (patch)
tree33e86079a194237ea9f6d7a0326c99157d08e0ac /drivers
parentc2ef550dd0f53681e187709261e694c07b965a2c (diff)
Fix error messages when request_irq() fails.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/sgiwd93.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/sgiwd93.c b/drivers/scsi/sgiwd93.c
index 56a9ca47b..8bbf28396 100644
--- a/drivers/scsi/sgiwd93.c
+++ b/drivers/scsi/sgiwd93.c
@@ -297,11 +297,11 @@ int __init sgiwd93_detect(Scsi_Host_Template *SGIblows)
hdata->dma_bounce_buffer = (uchar *) (KSEG1ADDR(buf));
if (request_irq(SGI_WD93_0_IRQ, sgiwd93_intr, 0, "SGI WD93", (void *) sgiwd93_host)) {
- printk(KERN_WARNING "sgiwd93: Could not register IRQ %d (for host 0).\n", sgiwd93_intr);
+ printk(KERN_WARNING "sgiwd93: Could not register IRQ %d (for host 0).\n", SGI_WD93_0_IRQ);
#ifdef MODULE
wd33c93_release();
#endif
- free_page(buf);
+ free_page((unsigned long)buf);
scsi_unregister(sgiwd93_host);
return 0;
}
@@ -332,11 +332,11 @@ int __init sgiwd93_detect(Scsi_Host_Template *SGIblows)
dma_cache_wback_inv((unsigned long) buf, PAGE_SIZE);
if (request_irq(SGI_WD93_1_IRQ, sgiwd93_intr, 0, "SGI WD93", (void *) sgiwd93_host1)) {
- printk(KERN_WARNING "sgiwd93: Could not allocate irq %d (for host1).\n", sgiwd93_intr);
+ printk(KERN_WARNING "sgiwd93: Could not allocate irq %d (for host1).\n", SGI_WD93_1_IRQ);
#ifdef MODULE
wd33c93_release();
#endif
- free_page(buf);
+ free_page((unsigned long)buf);
scsi_unregister(sgiwd93_host1);
/* Fall through since host0 registered OK */
}