lkml.org 
[lkml]   [2003]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectcciss fix for 2.6.0-test4
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.032 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site