Messages in this thread Patch in this message | | | Date | Mon, 25 Nov 2002 21:30:12 -0800 | From | Andrew Morton <> | 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/
| |