cciss fix for 2.6.0-test4

From: mike . miller
Date: Tue Aug 26 2003 - 09:53:46 EST


The following patch fixes a panic in the cciss driver during driver initialization. It was built & tested against 2.6.0-test4.
Authored by Francis Wiran of Hewlett-Packard.

--------------------------------------------------------------------------------

* Fix panic due to missing q assignment in cciss_init_one()


drivers/block/cciss.c | 2 ++
1 files changed, 2 insertions(+)

--- linux-2.6.0-test3/drivers/block/cciss.c~cciss_blk_alloc 2003-08-18 15:38:06.000000000 -0500
+++ linux-2.6.0-test3-root/drivers/block/cciss.c 2003-08-18 17:58:11.000000000 -0500
@@ -2525,6 +2525,8 @@ err_all:
if (!q)
goto err_all;

+ hba[i]->queue = q;
+
/* Initialize the pdev driver private data.
have it point to hba[i]. */
pci_set_drvdata(pdev, hba[i]);

_
-
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/