]> git.baikalelectronics.ru Git - kernel.git/commit
ipr: Inhibit underlength data check for AFDASD in raw mode.
authorGabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Wed, 19 Aug 2015 14:47:05 +0000 (11:47 -0300)
committerJames Bottomley <JBottomley@Odin.com>
Fri, 28 Aug 2015 20:14:53 +0000 (13:14 -0700)
commit3b23403359e32e485f5423d448660aaede0fbc73
treeab6d87b73a17324e00486d3a37568164aff27de3
parent91591b89ffcd5fc5600f140dbfd6825684777e3a
ipr: Inhibit underlength data check for AFDASD in raw mode.

Disable underlength error verification based on count of bytes actually
transferred for AF DASD devices when SIS pipe mode is enabled.

This avoids unexpected underlength errors when issuing some commands in
raw mode.

Signed-off-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Reviewed-by: Wen Xiong <wenxiong@linux.vnet.ibm.com>
Acked-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/ipr.c