diff options
-rw-r--r-- | drivers/scsi/scsi_transport_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_transport_spi.c b/drivers/scsi/scsi_transport_spi.c index 4855d1602d6b..780aaedcbce9 100644 --- a/drivers/scsi/scsi_transport_spi.c +++ b/drivers/scsi/scsi_transport_spi.c @@ -1209,7 +1209,7 @@ int spi_print_msg(const unsigned char *msg) } else if (msg[0] & 0x80) { printk("%02x ", msg[0]); /* Normal One byte */ - } else if ((msg[0] < 0x1f) || (msg == 0x55)) { + } else if ((msg[0] < 0x1f) || (msg[0] == 0x55)) { printk("%02x ", msg[0]); /* Two byte */ } else if (msg[0] <= 0x2f) { |