11015342b4
Use the correct conversion specifier for `size_t` to fix the error below. ``` from src/soc/intel/quark/spi.c:18: src/soc/intel/quark/spi.c: In function 'xfer': src/soc/intel/quark/spi.c:107:20: error: format '%ld' expects argument \ of type 'long int', but argument 3 has type 'unsigned int' \ [-Werror=format=] printk(BIOS_ERR, "bytesin > %ld\n", sizeof(ctrlr->data)); ^ ``` Found-by: gcc (Debian 7.2.0-8) 7.2.0 Change-Id: I3974d116e85715086a2bd5533a80a20c4cc43303 Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-on: https://review.coreboot.org/22130 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Martin Roth <martinroth@google.com> |
||
---|---|---|
.. | ||
bootblock | ||
include/soc | ||
romstage | ||
acpi.c | ||
chip.c | ||
chip.h | ||
ehci.c | ||
fsp1_1.c | ||
fsp2_0.c | ||
gpio_i2c.c | ||
i2c.c | ||
Kconfig | ||
lpc.c | ||
Makefile.inc | ||
memmap.c | ||
northcluster.c | ||
reg_access.c | ||
reset.c | ||
sd.c | ||
spi.c | ||
spi_debug.c | ||
storage_test.c | ||
tsc_freq.c | ||
uart.c | ||
uart_common.c |