[PATCH] apci: method: don't bother dumping out the _BST contents

Keng-Yu Lin kengyu at canonical.com
Tue Dec 18 02:42:55 UTC 2012


On Thu, Dec 13, 2012 at 3:11 AM, Colin King <colin.king at canonical.com> wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> Since we just want to sanity check the type of data being
> returned and we can't gather _BST information from the EC we
> shouldn't dump the package, it makes no sense and clutters up the
> output.
>
> Signed-off-by: Colin Ian King <colin.king at 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 2dcbee0..7831a92 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -2750,8 +2750,6 @@ static void method_test_BST_return(
>                 uint32_t i;
>                 int failed = 0;
>
> -               fwts_method_dump_object(fw, obj);
> -
>                 if (obj->Package.Count != 4) {
>                         fwts_failed(fw, LOG_LEVEL_MEDIUM,
>                                 "Method_BSTElementCount",
> --
> 1.8.0
>
>
Acked-by: Keng-Yu Lin <kengyu at canonical.com>



More information about the fwts-devel mailing list