linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] possible typo in ide-disk.c
@ 2004-07-21 22:22 Magnus Damm
  0 siblings, 0 replies; only message in thread
From: Magnus Damm @ 2004-07-21 22:22 UTC (permalink / raw)
  To: linux-ide

[-- Attachment #1: Type: text/plain, Size: 85 bytes --]

Hi all,

This sure looks like a typo to me.

/ magnus - not subscribed, please cc.



[-- Attachment #2: linux-2.6.8-rc2-ide_task_no_data_intr_20040722.patch --]
[-- Type: text/x-patch, Size: 1204 bytes --]

--- linux-2.6.8-rc2/drivers/ide/ide-disk.c	2004-07-22 00:01:26.000000000 +0200
+++ linux-2.6.8-rc2-ide_task_no_data_intr_20040722/drivers/ide/ide-disk.c	2004-07-22 00:01:57.000000000 +0200
@@ -1377,25 +1377,25 @@
 		args->handler	   = &task_no_data_intr;
 		return do_rw_taskfile(drive, args);
 
 	case idedisk_pm_standby:	/* Suspend step 2 (standby) */
 		args->tfRegister[IDE_COMMAND_OFFSET] = WIN_STANDBYNOW1;
 		args->command_type = IDE_DRIVE_TASK_NO_DATA;
 		args->handler	   = &task_no_data_intr;
 		return do_rw_taskfile(drive, args);
 
 	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) */
 		/*
 		 * Right now, all we do is call hwif->ide_dma_check(drive),
 		 * we could be smarter and check for current xfer_speed
 		 * in struct drive etc...
 		 * Also, this step could be implemented as a generic helper
 		 * as most subdrivers will use it
 		 */
 		if ((drive->id->capability & 1) == 0)
 			break;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-21 22:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-21 22:22 [PATCH] possible typo in ide-disk.c Magnus Damm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).