[lib][uefi] Fix LTRACEF logging
LTRACEF already outputs function name, no need to do it again
This commit is contained in:
committed by
Kelvin Zhang
parent
0f15dc23bc
commit
22b808b6ec
@@ -158,8 +158,8 @@ EfiStatus allocate_pages(EfiAllocatorType type, EfiMemoryType memory_type,
|
||||
return INVALID_PARAMETER;
|
||||
}
|
||||
if (type == ALLOCATE_MAX_ADDRESS && *memory < 0xFFFFFFFF) {
|
||||
LTRACEF("%s(%d, %d, %zu, 0x%llx) unsupported\n", __FUNCTION__, type,
|
||||
memory_type, pages, *memory);
|
||||
LTRACEF("%d, %d, %zu, 0x%llx unsupported\n", type, memory_type, pages,
|
||||
*memory);
|
||||
return UNSUPPORTED;
|
||||
}
|
||||
*memory = reinterpret_cast<EfiPhysicalAddr>(alloc_page(pages * PAGE_SIZE));
|
||||
|
||||
Reference in New Issue
Block a user