]> err.no Git - linux-2.6/commit
[libata scsi] tidy up SCSI lba and xfer len calculations
authorAlbert Lee <albertcc@tw.ibm.com>
Tue, 4 Oct 2005 12:47:43 +0000 (08:47 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Tue, 4 Oct 2005 12:47:43 +0000 (08:47 -0400)
commit3aef52311bcb1f88aa5c786302f1ae14a787f61e
tree12e62f0736c6678e0819543722b66f6813080190
parentc187c4b58a9caff660a4c8ae39d0def88cc449af
[libata scsi] tidy up SCSI lba and xfer len calculations

move the redundant SCSI lba and transfer length calculation code from
ata_scsi_verify_xlat() and ata_scsi_rw_xlat() to common functions.
drivers/scsi/libata-scsi.c