[PATCH] acpi: method: don't bother dumping _WAK package, it's just noise

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


On Thu, Dec 13, 2012 at 2:31 AM, Colin King <colin.king at canonical.com> wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> Since we don't care about the contents returned by _WAK we may
> as well not dump the entire package returned when evaluating it.
> This removes a lot of unnecessary noise from the test results.
>
> 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 be274b9..3ec7836 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -3419,8 +3419,6 @@ static void method_test_WAK_return(
>         FWTS_UNUSED(private);
>
>         if (method_check_type(fw, name, buf, ACPI_TYPE_PACKAGE) == FWTS_OK) {
> -               fwts_method_dump_object(fw, obj);
> -
>                 if (obj->Package.Count != 2) {
>                         fwts_failed(fw, LOG_LEVEL_MEDIUM,
>                                 "Method_WAKElementCount",
> --
> 1.8.0
>
Acked-by: Keng-Yu Lin <kengyu at canonical.com>



More information about the fwts-devel mailing list