Re: [PATCH] release_region in cciss block driver

From: Felipe W Damasio
Date: Mon Oct 06 2003 - 08:53:03 EST




Jens Axboe wrote:
Please at least try and follow the local style when you make changes.

Right, sorry.

Andrew, please use this patch instead.

Felipe

--- linux-2.6.0-test6/drivers/block/cciss.c.orig 2003-10-06 10:18:01.000000000 -0300
+++ linux-2.6.0-test6/drivers/block/cciss.c 2003-10-06 10:25:04.000000000 -0300
@@ -2185,6 +2185,7 @@
schedule_timeout(HZ / 10); /* wait 100ms */
}
if (scratchpad != CCISS_FIRMWARE_READY) {
+ release_io_mem(c);
printk(KERN_WARNING "cciss: Board not ready. Timed out.\n");
return -1;
}