]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: NCR5380: Suppress SDTR and WDTR message logging
authorFinn Thain <fthain@telegraphics.com.au>
Thu, 26 Oct 2017 05:51:50 +0000 (16:51 +1100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 31 Oct 2017 16:28:04 +0000 (12:28 -0400)
commitb1485d9b79be7c6b25843988321ee44a698bbe9a
tree845366f3e9048fe250b5b036b853ba2c53df0a18
parenta3a1bea81ac39bd80d7f48f46e1dd1d0dbe7599b
scsi: NCR5380: Suppress SDTR and WDTR message logging

The 5380 drivers only support asynchronous transfers and the 5380
controllers only have narrow busses. Hence, the core driver will reject
any SDTR and WDTR messages from target devices. Don't log this, it's
expected behaviour. Also, fix the off-by-one array indices in the
arguments to scmd_printk().

Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/NCR5380.c