Patchwork pata_it821x: Fix RAID type display

login
register
mail settings
Submitter Jean Delvare
Date July 4, 2011, 1:33 p.m.
Message ID <20110704153324.70a64e7c@endymion.delvare>
Download mbox | patch
Permalink /patch/103099/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

Jean Delvare - July 4, 2011, 1:33 p.m.
The missing comma causes the wrong RAID type to be displayed.
Introduced by commit 963e4975c6f93c148ca809d986d412201df9af89 three
years ago, odd that nobody noticed before.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Jeff Garzik <jgarzik@pobox.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
---
 drivers/ata/pata_it821x.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Sergei Shtylyov - July 4, 2011, 2:49 p.m.
Hello.

Jean Delvare wrote:

> The missing comma causes the wrong RAID type to be displayed.
> Introduced by commit 963e4975c6f93c148ca809d986d412201df9af89 three

    Please also specify that commit's summary in parens.

> years ago, odd that nobody noticed before.

> Signed-off-by: Jean Delvare <khali@linux-fr.org>
> Cc: Jeff Garzik <jgarzik@pobox.com>
> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>

WBR, Sergei
--
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

--- linux-3.0-rc5.orig/drivers/ata/pata_it821x.c	2011-05-20 10:42:40.000000000 +0200
+++ linux-3.0-rc5/drivers/ata/pata_it821x.c	2011-07-04 15:05:14.000000000 +0200
@@ -610,7 +610,7 @@  static void it821x_display_disk(int n, u
 	char *cbl = "(40 wire cable)";
 
 	static const char *types[5] = {
-		"RAID0", "RAID1" "RAID 0+1", "JBOD", "DISK"
+		"RAID0", "RAID1", "RAID 0+1", "JBOD", "DISK"
 	};
 
 	if (buf[52] > 4)	/* No Disk */