vendorcode/google/sar.c: Fix formatted print of size_t
Change-Id: If765f492befd9d08b5fe9e98c887bcf24ce1a7db Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/64243 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
@ -145,7 +145,7 @@ static int fill_wifi_sar_limits(union wifi_sar_limits *sar_limits, const uint8_t
|
|||||||
expected_sar_bin_size += dsm_table_size(sar_limits->dsm);
|
expected_sar_bin_size += dsm_table_size(sar_limits->dsm);
|
||||||
|
|
||||||
if (sar_bin_size != expected_sar_bin_size) {
|
if (sar_bin_size != expected_sar_bin_size) {
|
||||||
printk(BIOS_ERR, "Invalid SAR size, expected: %ld, obtained: %ld\n",
|
printk(BIOS_ERR, "Invalid SAR size, expected: %zu, obtained: %zu\n",
|
||||||
expected_sar_bin_size, sar_bin_size);
|
expected_sar_bin_size, sar_bin_size);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user