aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/scsi_transport_spi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/scsi_transport_spi.c b/drivers/scsi/scsi_transport_spi.c
index c0051a432a97..653f165d65ff 100644
--- a/drivers/scsi/scsi_transport_spi.c
+++ b/drivers/scsi/scsi_transport_spi.c
@@ -1131,7 +1131,7 @@ int spi_print_msg(const unsigned char *msg)
1131 (int) msg[2]); 1131 (int) msg[2]);
1132 switch (msg[2]) { 1132 switch (msg[2]) {
1133 case EXTENDED_MODIFY_DATA_POINTER: 1133 case EXTENDED_MODIFY_DATA_POINTER:
1134 printk("pointer = %d", (int) (msg[3] << 24) | 1134 printk("pointer = %d ", (msg[3] << 24) |
1135 (msg[4] << 16) | (msg[5] << 8) | msg[6]); 1135 (msg[4] << 16) | (msg[5] << 8) | msg[6]);
1136 break; 1136 break;
1137 case EXTENDED_SDTR: 1137 case EXTENDED_SDTR:
@@ -1157,7 +1157,7 @@ int spi_print_msg(const unsigned char *msg)
1157 /* Normal One byte */ 1157 /* Normal One byte */
1158 } else if (msg[0] < 0x1f) { 1158 } else if (msg[0] < 0x1f) {
1159 if (msg[0] < ARRAY_SIZE(one_byte_msgs)) 1159 if (msg[0] < ARRAY_SIZE(one_byte_msgs))
1160 printk(one_byte_msgs[msg[0]]); 1160 printk("%s ", one_byte_msgs[msg[0]]);
1161 else 1161 else
1162 printk("reserved (%02x) ", msg[0]); 1162 printk("reserved (%02x) ", msg[0]);
1163 len = 1; 1163 len = 1;
@@ -1171,7 +1171,7 @@ int spi_print_msg(const unsigned char *msg)
1171 msg[0], msg[1]); 1171 msg[0], msg[1]);
1172 len = 2; 1172 len = 2;
1173 } else 1173 } else
1174 printk("reserved"); 1174 printk("reserved ");
1175 return len; 1175 return len;
1176} 1176}
1177EXPORT_SYMBOL(spi_print_msg); 1177EXPORT_SYMBOL(spi_print_msg);