Patchwork apci: method: don't bother dumping out the _DOD contents

login
register
mail settings
Submitter Colin King
Date Dec. 12, 2012, 7:21 p.m.
Message ID <1355340112-2761-1-git-send-email-colin.king@canonical.com>
Download mbox | patch
Permalink /patch/205629/
State Accepted
Headers show

Comments

Colin King - Dec. 12, 2012, 7:21 p.m.
From: Colin Ian King <colin.king@canonical.com>

Dumping the _DOD contents just clutters up the method test
output, so don't dump it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 src/acpi/method/method.c | 2 --
 1 file changed, 2 deletions(-)
Keng-Yu Lin - Dec. 18, 2012, 2:45 a.m.
On Thu, Dec 13, 2012 at 3:21 AM, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Dumping the _DOD contents just clutters up the method test
> output, so don't dump it.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  src/acpi/method/method.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
> index df3e45b..886b2bd 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -3536,8 +3536,6 @@ static void method_test_DOD_return(
>         if (method_check_type(fw, name, buf, ACPI_TYPE_PACKAGE) == FWTS_OK) {
>                 uint32_t i;
>
> -               fwts_method_dump_object(fw, obj);
> -
>                 for (i = 0; i < obj->Package.Count; i++) {
>                         if (obj->Package.Elements[i].Type != ACPI_TYPE_INTEGER)
>                                 failed++;
> --
> 1.8.0
>
Acked-by: Keng-Yu Lin <kengyu@canonical.com>
Ivan Hu - Dec. 20, 2012, 2:30 a.m.
On 12/13/2012 03:21 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Dumping the _DOD contents just clutters up the method test
> output, so don't dump it.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   src/acpi/method/method.c | 2 --
>   1 file changed, 2 deletions(-)
>
> diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
> index df3e45b..886b2bd 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -3536,8 +3536,6 @@ static void method_test_DOD_return(
>   	if (method_check_type(fw, name, buf, ACPI_TYPE_PACKAGE) == FWTS_OK) {
>   		uint32_t i;
>
> -		fwts_method_dump_object(fw, obj);
> -
>   		for (i = 0; i < obj->Package.Count; i++) {
>   			if (obj->Package.Elements[i].Type != ACPI_TYPE_INTEGER)
>   				failed++;
>
Acked-by: Ivan Hu <ivan.hu@canonical.com>

Patch

diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
index df3e45b..886b2bd 100644
--- a/src/acpi/method/method.c
+++ b/src/acpi/method/method.c
@@ -3536,8 +3536,6 @@  static void method_test_DOD_return(
 	if (method_check_type(fw, name, buf, ACPI_TYPE_PACKAGE) == FWTS_OK) {
 		uint32_t i;
 
-		fwts_method_dump_object(fw, obj);
-
 		for (i = 0; i < obj->Package.Count; i++) {
 			if (obj->Package.Elements[i].Type != ACPI_TYPE_INTEGER)
 				failed++;