Re: [PATCH] ata: uncomment ata_timing for XFER_PIO_SLOW

From: Alan Cox
Date: Fri Dec 14 2012 - 06:18:42 EST


On Fri, 14 Dec 2012 15:01:37 +0400
Konstantin Khlebnikov <khlebnikov@xxxxxxxxxx> wrote:

> This patch uncomments ata timings for XFER_PIO_SLOW,
> otherwise ata_timing_find_mode() returns NULL and kernel crashes in
> pacpi_set_dmamode() after null-pointer dereference.

NAK please see the previous discussion of this and the correct fix to set
up the dma timings field properly when it isn't available (0xFF not 0x00)

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