[PATCH] libata: fix ata_scsi_pass_thru error handling
authorTejun Heo <htejun@gmail.com>
Fri, 2 Dec 2005 02:49:11 +0000 (11:49 +0900)
committerJeff Garzik <jgarzik@pobox.com>
Sun, 4 Dec 2005 01:31:16 +0000 (20:31 -0500)
commit9a40525788a1b692ee0fc780a8cdb2ac808de1b0
tree71d37e014275af9227cecfaf6fa30f2bc3648908
parent3b6efee9231e12fce09c94930bfc59f66f18d662
[PATCH] libata: fix ata_scsi_pass_thru error handling

This patch makes ata_scsi_pass_thru() properly set result code and
sense data on translation failures.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/scsi/libata-scsi.c