[coreboot-gerrit] New patch to review for coreboot: 0009269 drivers/intel/fsp/fsp_util: 'long unsigned int' is 'unsigned long'

Edward O'Callaghan (eocallaghan@alterapraxis.com) gerrit at coreboot.org
Mon Jul 7 12:07:30 CEST 2014


Edward O'Callaghan (eocallaghan at alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6196

-gerrit

commit 0009269d0efd4c75865833c79abceb71db6c0f2e
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Mon Jul 7 20:04:41 2014 +1000

    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 <eocallaghan at alterapraxis.com>
---
 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 4e1db6b..a9b5624 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) {



More information about the coreboot-gerrit mailing list