mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-19 23:06:11 +07:00
[SCSI] fix minor problem in spi transport message functions
The check for a one byte message should be msg[0] == 0x55 not msg == 0x55 Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
parent
a1d4f73a00
commit
597705aa7f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user