PATCH: wd7000 missing release_region

From: Marcus Meissner (Marcus.Meissner@caldera.de)
Date: Wed May 16 2001 - 05:35:32 EST


Hi,

One else case in wd7000.c did not have a release_region().

Ciao, Marcus

Index: drivers/scsi/wd7000.c
===================================================================
RCS file: /build/mm/work/repository/linux-mm/drivers/scsi/wd7000.c,v
retrieving revision 1.7
diff -u -r1.7 wd7000.c
--- drivers/scsi/wd7000.c 2001/05/03 13:03:59 1.7
+++ drivers/scsi/wd7000.c 2001/05/16 10:05:21
@@ -1676,7 +1676,8 @@
                         host->iobase, host->irq, host->dma);
                 printk (" BUS_ON time: %dns, BUS_OFF time: %dns\n",
                         host->bus_on * 125, host->bus_off * 125);
- }
+ } else
+ goto err_release;
         }
 
 #ifdef WD7000_DEBUG
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 23 2001 - 21:00:16 EST