drivers/intel/fsp2_0/hob_verify: Correct conversion specifier
Use the correct conversion specifier for `size_t` to fix the error below. ``` src/drivers/intel/fsp2_0/hob_verify.c:31:4: error: format '%lx' expects \ argument of type 'long unsigned int', but argument 4 has type \ 'size_t {aka unsigned int}' [-Werror=format=] "FSP_BOOTLOADER_TOLUM_SIZE: 0x%08llx < 0x%08lx\n", ^ range_entry_size(&tolum), cbmem_overhead_size()); ~~~~~~~~~~~~~~~~~~~~~ ``` Found-by: gcc (Debian 7.2.0-8) 7.2.0 Change-Id: I4631672211095f9934925e9bd230ccbf63c736af Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-on: https://review.coreboot.org/22131 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
11015342b4
commit
8eed67b3ab
|
@ -28,7 +28,7 @@ void fsp_verify_memory_init_hobs(void)
|
|||
die("9.3: FSP_BOOTLOADER_TOLUM_HOB missing!\n");
|
||||
if (range_entry_size(&tolum) < cbmem_overhead_size()) {
|
||||
printk(BIOS_CRIT,
|
||||
"FSP_BOOTLOADER_TOLUM_SIZE: 0x%08llx < 0x%08lx\n",
|
||||
"FSP_BOOTLOADER_TOLUM_SIZE: 0x%08llx < 0x%08zx\n",
|
||||
range_entry_size(&tolum), cbmem_overhead_size());
|
||||
die("FSP_BOOTLOADER_TOLUM_HOB too small!\n");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue