[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)
commitf38621b3109068adc8430bc2d170ccea59df4261
tree599e6600f495a02e637b06d788fc8d8790e7c99a
parent39599a5334decc2669ba794fb0ccd2b112ef1ba4
[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