Patchwork <linux/ide.h>: fix comment typo

login
register
mail settings
Submitter Sergei Shtylyov
Date April 12, 2010, 3:43 p.m.
Message ID <201004121943.19556.sshtylyov@ru.mvista.com>
Download mbox | patch
Permalink /patch/49969/
State Accepted
Delegated to: David Miller
Headers show

Comments

Sergei Shtylyov - April 12, 2010, 3:43 p.m.
Fix typo in the comment to the 'dma_mode' field of the 'struct ide_drive_s'
introduced by the commit 3fccaa192b9501e79a57e02e62b6bf420d2b461e (ide: add
drive->dma_mode field).

Whilt at it, convert spaces to a tab in the declaration of the neighbouring
'dn' field...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>

---
The patch is atop of ide-2.6.git tree...

 include/linux/ide.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - April 15, 2010, 9:17 a.m.
From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Date: Mon, 12 Apr 2010 19:43:19 +0400

> Fix typo in the comment to the 'dma_mode' field of the 'struct ide_drive_s'
> introduced by the commit 3fccaa192b9501e79a57e02e62b6bf420d2b461e (ide: add
> drive->dma_mode field).
> 
> Whilt at it, convert spaces to a tab in the declaration of the neighbouring
> 'dn' field...
> 
> Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

Index: ide-2.6/include/linux/ide.h
===================================================================
--- ide-2.6.orig/include/linux/ide.h
+++ ide-2.6/include/linux/ide.h
@@ -516,8 +516,8 @@  struct ide_drive_s {
         u8	current_speed;	/* current transfer rate set */
 	u8	desired_speed;	/* desired transfer rate set */
 	u8	pio_mode;	/* for ->set_pio_mode _only_ */
-	u8	dma_mode;	/* for ->dma_pio_mode _only_ */
-        u8	dn;		/* now wide spread use */
+	u8	dma_mode;	/* for ->set_dma_mode _only_ */
+	u8	dn;		/* now wide spread use */
 	u8	acoustic;	/* acoustic management */
 	u8	media;		/* disk, cdrom, tape, floppy, ... */
 	u8	ready_stat;	/* min status value for drive ready */