bart:
It seems like the bug could cause insanely long timeouts for:
- ATA_DMA_ERR error in dma_timer_expiry()
- commands without ->expiry in tc86c001_timer_expiry()
(TC86C001 IDE controller only)
Signed-off-by: Roel Kluin <[email protected]>
Cc: Sergei Shtylyov <[email protected]>
Cc: Andrew Morton <[email protected]>
[bart: port it to the current tree]
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
ide_drive_t *uninitialized_var(drive);
ide_handler_t *handler;
unsigned long flags;
- unsigned long wait = -1;
+ int wait = -1;
int plug_device = 0;
spin_lock_irqsave(&hwif->lock, flags);