[PATCH] ide: possible typo in ide-disk.c

From: Magnus Damm
Date: Sat Jan 08 2005 - 11:07:20 EST


Hello,

A search for "task_no_data_intr" tells me that this is probably a typo.

/ magnus

Signed-off-by: Magnus Damm <damm@xxxxxxxxxxxxx>

--- linux-2.6.10/drivers/ide/ide-disk.c 2004-12-24 22:34:32.000000000 +0100
+++ linux-2.6.10-ide_task_no_data_intr_20050108/drivers/ide/ide-disk.c 2005-01-08 16:24:26.000000000 +0100
@@ -1100,7 +1100,7 @@
case idedisk_pm_idle: /* Resume step 1 (idle) */
args->tfRegister[IDE_COMMAND_OFFSET] = WIN_IDLEIMMEDIATE;
args->command_type = IDE_DRIVE_TASK_NO_DATA;
- args->handler = task_no_data_intr;
+ args->handler = &task_no_data_intr;
return do_rw_taskfile(drive, args);

case idedisk_pm_restore_dma: /* Resume step 2 (restore DMA) */
-
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/