Patchwork trivial -Werror compilation fix for Asus M2V-MX-SE

login
register
about
Submitter Cristi Magherusan
Date 2010-07-09 17:55:23
Message ID <1278698123.25117.12.camel@ufo>
Download mbox | patch
Permalink /patch/1600/
State Accepted
Headers show

Comments

Cristi Magherusan - 2010-07-09 17:55:23
See attached patch:

Signed-off-by: Cristi M <cristi.magherusan@gmail.com>
Myles Watson - 2010-07-09 18:06:50
On Fri, Jul 9, 2010 at 11:55 AM, Cristi Magherusan
<Cristi.Magherusan@net.utcluj.ro> wrote:
>
> See attached patch:
>
> Signed-off-by: Cristi M <cristi.magherusan@gmail.com>
Rev 5663.

Thanks,
Myles

Patch

From 36e59905aea9bc7ed4ee450adc1a9eda75b915a5 Mon Sep 17 00:00:00 2001
From: Cristi M <cristi@corebooter.utcluj.ro>
Date: Fri, 9 Jul 2010 20:51:08 +0300
Subject: [PATCH] trivial -Werror compilation fix for Asus M2V-MX-SE

Signed-off-by: Cristi M <cristi@corebooter.utcluj.ro>
---

 src/northbridge/amd/amdk8/raminit_f.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/northbridge/amd/amdk8/raminit_f.c b/src/northbridge/amd/amdk8/raminit_f.c

index 01241f0..176e176 100644

--- a/src/northbridge/amd/amdk8/raminit_f.c

+++ b/src/northbridge/amd/amdk8/raminit_f.c

@@ -2410,7 +2410,7 @@  static void set_TT(const struct mem_controller *ctrl,

 	uint32_t reg;
 
 	if ((val < TT_MIN) || (val > TT_MAX)) {
-		printk(BIOS_ERR, str);

+		printk(BIOS_ERR, "%s\n", str);

 		die(" Unknown\n");
 	}
 
-- 

1.6.0.4