ide: possible typo in ide-disk.c
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
Signed-off-by Magnus Damm <[email protected]>
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) */
Quoted 11 lines · Magnus Damm
Hello,
A search for "
task_no_data_intr" tells me that this is probably a typo./ magnus
Signed-off-by Magnus Damm <[email protected]>
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