Patchwork [1/4] bios: mtrr: make MTRR overview all verbatum style, looks better on HTML log

login
register
mail settings
Submitter Colin King
Date May 31, 2012, 12:42 p.m.
Message ID <1338468129-5491-2-git-send-email-colin.king@canonical.com>
Download mbox | patch
Permalink /patch/162148/
State Accepted
Headers show

Comments

Colin King - May 31, 2012, 12:42 p.m.
From: Colin Ian King <colin.king@canonical.com>

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 src/bios/mtrr/mtrr.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Keng-Yu Lin - June 4, 2012, 8:34 a.m.
On Thu, May 31, 2012 at 8:42 PM, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  src/bios/mtrr/mtrr.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/bios/mtrr/mtrr.c b/src/bios/mtrr/mtrr.c
> index 9e674a3..4da0fda 100644
> --- a/src/bios/mtrr/mtrr.c
> +++ b/src/bios/mtrr/mtrr.c
> @@ -499,8 +499,8 @@ static void do_mtrr_resource(fwts_framework *fw)
>        fwts_list_link *item;
>        struct mtrr_entry *entry;
>
> -       fwts_log_info(fw,"MTRR overview");
> -       fwts_log_info(fw,"-------------");
> +       fwts_log_info_verbatum(fw,"MTRR overview");
> +       fwts_log_info_verbatum(fw,"-------------");
>
>        fwts_list_foreach(item, mtrr_list) {
>                entry = fwts_list_data(struct mtrr_entry *, item);
> --
> 1.7.9.5
>
Acked-by: Keng-Yu Lin <kengyu@canonical.com>
Ivan Hu - June 6, 2012, 4:12 a.m.
On 05/31/2012 08:42 PM, Colin King wrote:
> From: Colin Ian King<colin.king@canonical.com>
>
> Signed-off-by: Colin Ian King<colin.king@canonical.com>
> ---
>   src/bios/mtrr/mtrr.c |    4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/bios/mtrr/mtrr.c b/src/bios/mtrr/mtrr.c
> index 9e674a3..4da0fda 100644
> --- a/src/bios/mtrr/mtrr.c
> +++ b/src/bios/mtrr/mtrr.c
> @@ -499,8 +499,8 @@ static void do_mtrr_resource(fwts_framework *fw)
>   	fwts_list_link *item;
>   	struct mtrr_entry *entry;
>
> -	fwts_log_info(fw,"MTRR overview");
> -	fwts_log_info(fw,"-------------");
> +	fwts_log_info_verbatum(fw,"MTRR overview");
> +	fwts_log_info_verbatum(fw,"-------------");
>
>   	fwts_list_foreach(item, mtrr_list) {
>   		entry = fwts_list_data(struct mtrr_entry *, item);
Acked-by: Ivan Hu<ivan.hu@canonical.com>
Chris Van Hoof - June 11, 2012, 3:58 p.m.
On 05/31/2012 08:42 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  src/bios/mtrr/mtrr.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/bios/mtrr/mtrr.c b/src/bios/mtrr/mtrr.c
> index 9e674a3..4da0fda 100644
> --- a/src/bios/mtrr/mtrr.c
> +++ b/src/bios/mtrr/mtrr.c
> @@ -499,8 +499,8 @@ static void do_mtrr_resource(fwts_framework *fw)
>  	fwts_list_link *item;
>  	struct mtrr_entry *entry;
>  
> -	fwts_log_info(fw,"MTRR overview");
> -	fwts_log_info(fw,"-------------");
> +	fwts_log_info_verbatum(fw,"MTRR overview");
> +	fwts_log_info_verbatum(fw,"-------------");
>  
>  	fwts_list_foreach(item, mtrr_list) {
>  		entry = fwts_list_data(struct mtrr_entry *, item);

Tested-by: Chris Van Hoof <vanhoof@canonical.com>

Patch

diff --git a/src/bios/mtrr/mtrr.c b/src/bios/mtrr/mtrr.c
index 9e674a3..4da0fda 100644
--- a/src/bios/mtrr/mtrr.c
+++ b/src/bios/mtrr/mtrr.c
@@ -499,8 +499,8 @@  static void do_mtrr_resource(fwts_framework *fw)
 	fwts_list_link *item;
 	struct mtrr_entry *entry;
 
-	fwts_log_info(fw,"MTRR overview");
-	fwts_log_info(fw,"-------------");
+	fwts_log_info_verbatum(fw,"MTRR overview");
+	fwts_log_info_verbatum(fw,"-------------");
 
 	fwts_list_foreach(item, mtrr_list) {
 		entry = fwts_list_data(struct mtrr_entry *, item);