libata: Clarify ata_set_lba_range_entries function
authorMartin K. Petersen <martin.petersen@oracle.com>
Thu, 26 Nov 2009 17:00:43 +0000 (12:00 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 3 Dec 2009 23:01:23 +0000 (18:01 -0500)
ata_set_lba_range_entries used the variable max for two different things
which was confusing.  Make the function take a buffer size in bytes as
argument and return the used buffer size upon completion.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>

No differences found