Skip to contentSkip to conversation

<linux/ide.h>: fix comment typo

PATCH Applied Sergei Shtylyov 2 participants 2 messages Apr 12, 2010 – Apr 15, 2010 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 <linux/ide.h>: fix comment typo

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

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

 include/linux/ide.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/ide.h +2 -2
Index: 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 */
Applied
#1 lore raw

From: Sergei Shtylyov <[email protected]>
Date: Mon, 12 Apr 2010 19:43:19 +0400

Quoted 8 lines

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

Applied, thanks.