ソースを参照

[SCSI] Fix printing of two-byte messages

A missing comma meant that "Ordered Queue Tag" and "Ignore Wide Residue"
were being concatenated together.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Matthew Wilcox 19 年 前
コミット
4797215389
1 ファイル変更1 行追加1 行削除
  1. 1 1
      drivers/scsi/scsi_transport_spi.c

+ 1 - 1
drivers/scsi/scsi_transport_spi.c

@@ -1060,7 +1060,7 @@ static const char * const one_byte_msgs[] = {
 #define NO_ONE_BYTE_MSGS (sizeof(one_byte_msgs)  / sizeof (const char *))
 
 static const char * const two_byte_msgs[] = {
-/* 0x20 */ "Simple Queue Tag", "Head of Queue Tag", "Ordered Queue Tag"
+/* 0x20 */ "Simple Queue Tag", "Head of Queue Tag", "Ordered Queue Tag",
 /* 0x23 */ "Ignore Wide Residue"
 };
 #define NO_TWO_BYTE_MSGS (sizeof(two_byte_msgs)  / sizeof (const char *))