]> asedeno.scripts.mit.edu Git - linux.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)
commit39bef87c140aa9586ba55ede3bb856261c5e9d57
tree845366f3e9048fe250b5b036b853ba2c53df0a18
parentd84c198f43c50c6c0bd57571acbf0f000165bd56
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