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:
parent
857ad3e4ff
commit
52fba9a943
@ -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));
|
||||
|
@ -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));
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user