APPLIED: [PATCH] acpi: method: fix incorrect failure messages for _TRT

Keng-Yu Lin keng-yu.lin at canonical.com
Wed Sep 17 08:55:44 UTC 2014


On Wed, Sep 17, 2014 at 2:03 PM, Alex Hung <alex.hung at canonical.com> wrote:
> Signed-off-by: Alex Hung <alex.hung at canonical.com>
> ---
>  src/acpi/method/method.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
> index 51fefce..a21e4b1 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -4650,7 +4650,7 @@ static void method_test_TRT_return(
>                 for (j = 0; j < 2; j++) {
>                         if (pkg->Package.Elements[j].Type != ACPI_TYPE_LOCAL_REFERENCE) {
>                                 fwts_failed(fw, LOG_LEVEL_MEDIUM,
> -                                       "Method_TRTSubPackageElementCount",
> +                                       "Method_TRTBadSubPackageReturnType",
>                                         "%s sub-package %" PRIu32
>                                         " element %" PRIu32 " is not "
>                                         "a reference.",
> @@ -4662,7 +4662,7 @@ static void method_test_TRT_return(
>                 for (j = 2; j < 8; j++) {
>                         if (pkg->Package.Elements[j].Type != ACPI_TYPE_INTEGER) {
>                                 fwts_failed(fw, LOG_LEVEL_MEDIUM,
> -                                       "Method_TRTSubPackageElementCount",
> +                                       "Method_TRTBadSubPackageReturnType",
>                                         "%s sub-package %" PRIu32
>                                         " element %" PRIu32 " is not "
>                                         "an integer.",
> --
> 1.9.1
>
>
> --
> fwts-devel mailing list
> fwts-devel at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/fwts-devel



More information about the fwts-devel mailing list