From: Samuel Thibault There is a small typo in the probe code of pata_qdi.c. Cc: Alan Cox Cc: Jeff Garzik Signed-off-by: Andrew Morton --- drivers/ata/pata_qdi.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/ata/pata_qdi.c~fix-pata_qdic-probe-code drivers/ata/pata_qdi.c --- a/drivers/ata/pata_qdi.c~fix-pata_qdic-probe-code +++ a/drivers/ata/pata_qdi.c @@ -375,7 +375,7 @@ static __init int qdi_init(void) res = inb(port + 3); if (res & 1) { /* Single channel mode */ - if (qdi_init_one(port, 6580, ide_port[r & 0x01], ide_irq[r & 0x01], r & 0x04)) + if (qdi_init_one(port, 6580, ide_port[r & 0x01], ide_irq[r & 0x01], r & 0x04) == 0) ct++; } else { /* Dual channel mode */ _