diff options
author | Tejun Heo <htejun@gmail.com> | 2006-02-20 23:48:38 +0900 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-02-20 16:48:18 -0500 |
commit | 2e242fa994428bd1a40b6a7e97430413246d0a16 (patch) | |
tree | 8ba101ac6b2f9d6e5d14eebb9091d43c9177626c /drivers/scsi/pci2000.h | |
parent | cc1887f3d8ae8ea61efa1a75af8ec0467b9dd546 (diff) |
[PATCH] libata: make ata_sg_setup_one() trim zero length sg
This patch makes ata_sg_setup_one() trim sg entry (thus making
qc->n_elem zero) if padding results in zero length sg entry.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/scsi/pci2000.h')
0 files changed, 0 insertions, 0 deletions