Skip to content

Commit

Permalink
[SCSI] Fix printing of two-byte messages
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Matthew Wilcox authored and James Bottomley committed Dec 16, 2005
1 parent 1abfd37 commit 4797215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/scsi_transport_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 *))
Expand Down

0 comments on commit 4797215

Please sign in to comment.