diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2009-11-26 18:00:43 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2009-12-04 00:01:23 +0100 |
commit | d0634c4aea0b80447cbdc4c0db285004b860c455 (patch) | |
tree | 5d723e58b0feb11d049b7398e4c3f4600be01d9c /drivers/ata/pata_sis.c | |
parent | libata: Report zeroed read after TRIM and max discard size (diff) | |
download | linux-d0634c4aea0b80447cbdc4c0db285004b860c455.tar.xz linux-d0634c4aea0b80447cbdc4c0db285004b860c455.zip |
libata: Clarify ata_set_lba_range_entries function
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>
Diffstat (limited to 'drivers/ata/pata_sis.c')
0 files changed, 0 insertions, 0 deletions