acpi: Fix a repeated vm_offset_t that should be a vm_size_t

The underlying types for both are the same so arguably this doesn't
really matter, but using the wrong type is still confusing and
technically incorrect.
This commit is contained in:
Jessica Clarke 2021-07-19 17:19:23 +01:00
parent 857ad3e4ff
commit 52fba9a943
3 changed files with 3 additions and 3 deletions

View File

@ -98,7 +98,7 @@ static void *
map_table(vm_paddr_t pa, const char *sig)
{
ACPI_TABLE_HEADER *header;
vm_offset_t length;
vm_size_t length;
void *table;
header = pmap_mapbios(pa, sizeof(ACPI_TABLE_HEADER));

View File

@ -66,7 +66,7 @@ static void *
map_table(vm_paddr_t pa, const char *sig)
{
ACPI_TABLE_HEADER *header;
vm_offset_t length;
vm_size_t length;
void *table;
header = pmap_mapbios(pa, sizeof(ACPI_TABLE_HEADER));

View File

@ -116,7 +116,7 @@ static void *
map_table(vm_paddr_t pa, const char *sig)
{
ACPI_TABLE_HEADER *header;
vm_offset_t length;
vm_size_t length;
void *table;
header = pmap_mapbios(pa, sizeof(ACPI_TABLE_HEADER));