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

Colin Ian King colin.king at canonical.com
Wed Sep 17 07:46:52 UTC 2014


On 17/09/14 07:03, Alex Hung 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.",
> 
Acked-by: Colin Ian King <colin.king at canonical.com>



More information about the fwts-devel mailing list