Skip to contentSkip to conversation

cciss fix for 2.6.0-test4

PATCH [email protected] 2 participants 2 messages Aug 26, 2003 Block layer

lore
Share & tools
lore
#0 lore raw

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(+)
drivers/block/cciss.c renamed from drivers/block/cciss.c~cciss_blk_alloc +2 -0
@@ -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]);

_

#1 lore raw
Quoted 2 lines · On Tue, Aug 26 2003, [email protected] wrote:

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.

A slightly different one was sent to Linus yesterday, I suspect it will show up later today.

Signature · 1 line
Jens Axboe