]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: sd: Improve unaligned completion resid message
authorDamien Le Moal <damien.lemoal@wdc.com>
Wed, 28 Aug 2019 05:35:11 +0000 (14:35 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 7 Sep 2019 19:30:55 +0000 (15:30 -0400)
commit3c5bdf49ab1c360930479384782d27c1b0243ec5
tree8a3f9bc0d93231b3e2956e95df42dea1b9ffbb8f
parent193ddbbbc250acc4e92ebe00611942db9a974b14
scsi: sd: Improve unaligned completion resid message

For commands completing with a resid not aligned on the device logical
sector size, also print the command CDB in addition to the current message
to help debug hardware generating such incorrect command completion
information.

Link: https://lore.kernel.org/r/20190828053511.14818-1-damien.lemoal@wdc.com
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/sd.c