lkml.org 
[lkml]   [2002]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] IDE fix for current -bk
do_ide_setup_pci_device() is returning an uninitialised
ata_index_t causing an oops at bootup.


--- 25/drivers/ide/setup-pci.c~ide-fix Mon Nov 25 21:24:42 2002
+++ 25-akpm/drivers/ide/setup-pci.c Mon Nov 25 21:25:11 2002
@@ -693,7 +693,7 @@ static ata_index_t do_ide_setup_pci_devi
int autodma = 0;
int pciirq = 0;
int tried_config = 0;
- ata_index_t index;
+ ata_index_t index = { .b = { .low = 0xff, .high = 0xff } };

if((autodma = ide_setup_pci_controller(dev, d, noisy, &tried_config)) < 0)
return index;
_
-
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:31    [W:0.029 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site