]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] libata: fix passthru sense data header
authorTejun Heo <htejun@gmail.com>
Tue, 14 Nov 2006 13:37:35 +0000 (22:37 +0900)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 03:46:00 +0000 (22:46 -0500)
commitaab2db85428b9453a5a8aff2c5e7fe9ffbdb2823
tree599e6600f495a02e637b06d788fc8d8790e7c99a
parent33bd7a3b30f8c22d734a073f671213c6d34f215b
[PATCH] libata: fix passthru sense data header

sb[7] should contain the length of whole information sense data
descriptor while desc[1] should contain the number of following bytes
in the descriptor.  ie. 14 for sb[7] but 12 for desc[1].

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-scsi.c