lkml.org 
[lkml]   [2003]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] release_region in cciss block driver
	Hi Andrew,

Patch against 2.6.0-test6.

Release a previous requested region if we're about the fail the board
initialization. Found by smatch.

Please review and consider applying,

Thanks.

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;
}
\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.072 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site