OSDN Git Service

staging: rts5208: fix transfer length 0 for 6-byte r/w commands
authorAkinobu Mita <akinobu.mita@gmail.com>
Sat, 16 May 2015 07:17:51 +0000 (16:17 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 02:40:14 +0000 (11:40 +0900)
commit8ee0df0d0695f87075a77b0dc9f5f594b7ec423f
treecb0a7b655a2bee0b0a04c58a8e1962dd8ebd6311
parent07d783fd830a49008f3b2764ae7b6033ee1bf329
staging: rts5208: fix transfer length 0 for 6-byte r/w commands

For 6-byte r/w commands, transfer length 0 means 256 blocks of data,
not 0 block.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Micky Ching <micky_ching@realsil.com.cn>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-scsi@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/rtsx_scsi.c