cciss updates for 2.6 [2 of 11]

From: mikem
Date: Wed Feb 04 2004 - 20:04:23 EST


Patch 2 of 11. Please apply in order.
This patch fixes a bug where under certain error conditions we bail and
try to free our I/O memory. Bug fix.
This patch is in the 2.4 tree.
--------------------------------------------------------------------------------------
diff -burN lx261-p001/drivers/block/cciss.c lx261/drivers/block/cciss.c
--- lx261-p001/drivers/block/cciss.c 2004-01-21 15:55:37.000000000 -0600
+++ lx261/drivers/block/cciss.c 2004-01-21 16:16:41.000000000 -0600
@@ -2234,7 +2234,7 @@
#endif /* CCISS_DEBUG */
if (cfg_base_addr_index == -1) {
printk(KERN_WARNING "cciss: Cannot find cfg_base_addr_index\n");
- release_io_mem(hba[i]);
+ release_io_mem(c);
return -1;
}


Thanks,
mikem
mike.miller@xxxxxx

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/