linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ide: possible typo in ide-disk.c
@ 2005-01-08 16:06 Magnus Damm
  2005-01-08 16:23 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Magnus Damm @ 2005-01-08 16:06 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Magnus Damm

Hello,

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

/ magnus

Signed-off-by: Magnus Damm <damm@opensource.se>

--- 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) */

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ide: possible typo in ide-disk.c
  2005-01-08 16:06 [PATCH] ide: possible typo in ide-disk.c Magnus Damm
@ 2005-01-08 16:23 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2005-01-08 16:23 UTC (permalink / raw)
  To: Magnus Damm; +Cc: Linux Kernel Mailing List

Magnus Damm wrote:
> Hello,
> 
> A search for "task_no_data_intr" tells me that this is probably a typo.
> 
> / magnus
> 
> Signed-off-by: Magnus Damm <damm@opensource.se>
> 
> --- 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;

C101.

	Jeff




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-08 16:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-08 16:06 [PATCH] ide: possible typo in ide-disk.c Magnus Damm
2005-01-08 16:23 ` Jeff Garzik

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).