sg_len is zero at the end of each scatterlist entry, so we need to test the additional ata_sg_is_last() condition to determine if we are really at the end of the PRD table. Jeff -
sg_len is zero at the end of each scatterlist entry, so we need to test the additional ata_sg_is_last() condition to determine if we are really at the end of the PRD table.
Jeff
-