[coreboot-gerrit] New patch to review for coreboot: ad2c98f H8SCM: Add a type cast for printk to correct a warning message

Bruce Griffith (Bruce.Griffith@se-eng.com) gerrit at coreboot.org
Wed Jun 26 11:08:17 CEST 2013


Bruce Griffith (Bruce.Griffith at se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3543

-gerrit

commit ad2c98f3138d8deb11591da8fbd6acf98bb86e56
Author: Bruce Griffith <Bruce.Griffith at se-eng.com>
Date:   Tue Jun 25 13:59:36 2013 -0600

    H8SCM: Add a type cast for printk to correct a warning message
    
    Copy a type cast from the other cases of the same switch statement
    to eliminate compiler warning messages.
    
    Change-Id: I8d0a88892f6a5f8e43227ab5f830041894b07f6a
    Signed-off-by: Bruce Griffith <Bruce.Griffith at se-eng.com>
---
 src/mainboard/supermicro/h8scm/agesawrapper.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mainboard/supermicro/h8scm/agesawrapper.c b/src/mainboard/supermicro/h8scm/agesawrapper.c
index 729b669..49abe25 100644
--- a/src/mainboard/supermicro/h8scm/agesawrapper.c
+++ b/src/mainboard/supermicro/h8scm/agesawrapper.c
@@ -736,9 +736,9 @@ static void agesa_warning(EVENT_PARAMS *event)
 
 		case HT_EVENT_OPT_REQUIRED_CAP_RETRY:
 			printk(BIOS_DEBUG, "HT_EVENT_OPT_REQUIRED_CAP_RETRY, Socket %x Link %x Depth %x\n",
-				event->DataParam1,
-				event->DataParam2,
-				event->DataParam3);
+					(unsigned int)event->DataParam1,
+					(unsigned int)event->DataParam2,
+					(unsigned int)event->DataParam3);
 			break;
 
 		case HT_EVENT_OPT_REQUIRED_CAP_GEN3:



More information about the coreboot-gerrit mailing list