Patchwork bios: memmapdump: ensure source fits into 80 columns

login
register
mail settings
Submitter Colin King
Date March 2, 2012, 9:54 a.m.
Message ID <1330682060-17603-1-git-send-email-colin.king@canonical.com>
Download mbox | patch
Permalink /patch/144186/
State Accepted
Headers show

Comments

Colin King - March 2, 2012, 9:54 a.m.
From: Colin Ian King <colin.king@canonical.com>

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 src/bios/memmapdump/memmapdump.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
Keng-Yu Lin - March 5, 2012, 9:03 a.m.
On Fri, Mar 2, 2012 at 5:54 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/memmapdump/memmapdump.c |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/src/bios/memmapdump/memmapdump.c b/src/bios/memmapdump/memmapdump.c
> index 74c3a52..08ad6a2 100644
> --- a/src/bios/memmapdump/memmapdump.c
> +++ b/src/bios/memmapdump/memmapdump.c
> @@ -27,7 +27,9 @@ static int memory_mapdump_util(fwts_framework *fw)
>
>        if ((memory_mapdump_memory_map_info =
>                fwts_memory_map_table_load(fw)) == NULL) {
> -               fwts_log_warning(fw, "Cannot memory map table from /sys/firmware/memmap or kernel log.");
> +               fwts_log_warning(fw,
> +                       "Cannot memory map table from /sys/firmware/memmap "
> +                       "or kernel log.");
>                return FWTS_ERROR;
>        }
>
> --
> 1.7.9
>
Acked-by: Keng-Yu Lin <kengyu@canonical.com>
Alex Hung - March 6, 2012, 9:30 a.m.
On 03/02/2012 05:54 PM, Colin King wrote:
> From: Colin Ian King<colin.king@canonical.com>
>
> Signed-off-by: Colin Ian King<colin.king@canonical.com>
> ---
>   src/bios/memmapdump/memmapdump.c |    4 +++-
>   1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/src/bios/memmapdump/memmapdump.c b/src/bios/memmapdump/memmapdump.c
> index 74c3a52..08ad6a2 100644
> --- a/src/bios/memmapdump/memmapdump.c
> +++ b/src/bios/memmapdump/memmapdump.c
> @@ -27,7 +27,9 @@ static int memory_mapdump_util(fwts_framework *fw)
>
>   	if ((memory_mapdump_memory_map_info =
>   		fwts_memory_map_table_load(fw)) == NULL) {
> -		fwts_log_warning(fw, "Cannot memory map table from /sys/firmware/memmap or kernel log.");
> +		fwts_log_warning(fw,
> +			"Cannot memory map table from /sys/firmware/memmap "
> +			"or kernel log.");
>   		return FWTS_ERROR;
>   	}
>
Acked-by: Alex Hung<alex.hung@canonical.com>

Patch

diff --git a/src/bios/memmapdump/memmapdump.c b/src/bios/memmapdump/memmapdump.c
index 74c3a52..08ad6a2 100644
--- a/src/bios/memmapdump/memmapdump.c
+++ b/src/bios/memmapdump/memmapdump.c
@@ -27,7 +27,9 @@  static int memory_mapdump_util(fwts_framework *fw)
 
 	if ((memory_mapdump_memory_map_info =
 		fwts_memory_map_table_load(fw)) == NULL) {
-		fwts_log_warning(fw, "Cannot memory map table from /sys/firmware/memmap or kernel log.");
+		fwts_log_warning(fw,
+			"Cannot memory map table from /sys/firmware/memmap "
+			"or kernel log.");
 		return FWTS_ERROR;
 	}