[coreboot] [commit] r5719 - trunk/src/arch/i386/boot
repository service
svn at coreboot.org
Tue Aug 17 18:32:42 CEST 2010
Author: myles
Date: Tue Aug 17 18:32:42 2010
New Revision: 5719
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5719
Log:
Correct for size_t would be %zx, but coreboot's printf doesn't support this.
Trying to keep it simple: Two sizes are expected equal so use same %x for both.
Cast to unsigned int to make sure it fits.
Signed-off-by: Jens Rottmann <JRottmann at LiPPERTEmbedded.de>
Acked-by: Myles Watson <mylesgw at gmail.com>
Modified:
trunk/src/arch/i386/boot/pirq_routing.c
Modified: trunk/src/arch/i386/boot/pirq_routing.c
==============================================================================
--- trunk/src/arch/i386/boot/pirq_routing.c Tue Aug 17 17:19:32 2010 (r5718)
+++ trunk/src/arch/i386/boot/pirq_routing.c Tue Aug 17 18:32:42 2010 (r5719)
@@ -13,8 +13,8 @@
printk(BIOS_INFO, "Checking Interrupt Routing Table consistency...\n");
if (sizeof(struct irq_routing_table) != rt->size) {
- printk(BIOS_WARNING, "Inconsistent Interrupt Routing Table size (0x%lx/0x%x).\n",
- sizeof(struct irq_routing_table),
+ printk(BIOS_WARNING, "Inconsistent Interrupt Routing Table size (0x%x/0x%x).\n",
+ (unsigned int) sizeof(struct irq_routing_table),
rt->size
);
rt->size=sizeof(struct irq_routing_table);
More information about the coreboot
mailing list