Paul Menzel has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/59056 )
Change subject: soc/intel/common: irq: Fix type mismatch in print statement ......................................................................
soc/intel/common: irq: Fix type mismatch in print statement
CC ramstage/soc/intel/common/block/irq/irq.o CC ramstage/soc/intel/common/block/i2c/i2c.o CC ramstage/soc/intel/common/block/hda/hda.o src/soc/intel/common/block/irq/irq.c: In function 'assign_fixed_pirqs': src/soc/intel/common/block/irq/irq.c:186:90: error: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Werror=format=] 186 | printk(BIOS_ERR, "ERROR: Slot %u, pirq %u, no pin for function %lu\n", | ~~^ | | | long unsigned int | %u 187 | constraints->slot, fixed_pirq, i); | ~ | | | size_t {aka unsigned int} CC ramstage/soc/intel/common/block/gspi/gspi.o CC ramstage/soc/intel/common/block/graphics/graphics.o CC ramstage/soc/intel/common/block/gpio/gpio.o CC ramstage/soc/intel/common/block/gpio/gpio_dev.o
Change-Id: I09f4a8d22a2964471344f5dcf971dfa801555f4a Signed-off-by: Paul Menzel pmenzel@molgen.mpg.de --- M src/soc/intel/common/block/irq/irq.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/56/59056/1
diff --git a/src/soc/intel/common/block/irq/irq.c b/src/soc/intel/common/block/irq/irq.c index 00aff62..c913c5a 100644 --- a/src/soc/intel/common/block/irq/irq.c +++ b/src/soc/intel/common/block/irq/irq.c @@ -183,7 +183,7 @@ fixed pin */ const enum pci_pin pin = fn_pin_map[i]; if (pin == PCI_INT_NONE) { - printk(BIOS_ERR, "ERROR: Slot %u, pirq %u, no pin for function %lu\n", + printk(BIOS_ERR, "ERROR: Slot %u, pirq %u, no pin for function %zu\n", constraints->slot, fixed_pirq, i); return false; }