Skip to contentSkip to conversation

ide: possible typo in ide-disk.c

PATCH In review Magnus Damm 2 participants 2 messages Jan 8, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ide: possible typo in ide-disk.c

Hello,

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

/ magnus

drivers/ide/ide-disk.c +1 -1
@@ -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) */
#1 lore raw
Quoted 11 lines · Magnus Damm

Hello,

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

/ magnus

drivers/ide/ide-disk.c line 1103

Quoted 5 lines
drivers/ide/ide-disk.c +1 -1
@@ -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;

C101.

Jeff