From 8f3de28af38e770808104dfda663dd942f616a6a Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Mon, 7 Jul 2014 20:04:41 +1000 Subject: drivers/intel/fsp/fsp_util: 'long unsigned int' is 'unsigned long' This is a bit of strange way to write 'unsigned long', fix that. Change-Id: I17caf971dac840e0f35f883dacfbd5c94d8c03d6 Signed-off-by: Edward O'Callaghan Reviewed-on: http://review.coreboot.org/6196 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi Reviewed-by: Paul Menzel --- src/drivers/intel/fsp/fsp_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/intel/fsp/fsp_util.c b/src/drivers/intel/fsp/fsp_util.c index 4e1db6b838..a9b5624676 100644 --- a/src/drivers/intel/fsp/fsp_util.c +++ b/src/drivers/intel/fsp/fsp_util.c @@ -226,7 +226,7 @@ static void print_hob_mem_attributes(void *Hobptr) { printk(BIOS_SPEW, " Memory type %s (0x%x)\n", Hobmemtypenames[(u32)Hobmemtype], (u32) Hobmemtype); printk(BIOS_SPEW, " at location 0x%0lx with length 0x%0lx\n", - (long unsigned int)Hobmemaddr, (long unsigned int)Hobmemlength); + (unsigned long)Hobmemaddr, (unsigned long)Hobmemlength); } static void print_hob_resource_attributes(void *Hobptr) { @@ -263,7 +263,7 @@ static void print_hob_resource_attributes(void *Hobptr) { printk(BIOS_SPEW, " Resource %s (0x%0x) has attributes 0x%0x\n", Hobrestypestr, Hobrestype, Hobresattr); printk(BIOS_SPEW, " at location 0x%0lx with length 0x%0lx\n", - (long unsigned int)Hobresaddr, (long unsigned int)Hobreslength); + (unsigned long)Hobresaddr, (unsigned long)Hobreslength); } static const char * get_hob_type_string(void *Hobptr) { -- cgit v1.2.3