[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fwts-devel
Subject:    ACK: [PATCH 1/3] acpi: method: update _GCP according to ACPI 6.2 (mantis 1703)
From:       Colin Ian King <colin.king () canonical ! com>
Date:       2017-06-23 8:05:09
Message-ID: ce0bbdf1-ea69-8a0a-2827-23978da50747 () canonical ! com
[Download RAW message or body]

On 22/06/17 03:32, Alex Hung wrote:
> Signed-off-by: Alex Hung <alex.hung@canonical.com>
> ---
>  src/acpi/method/method.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
> index bcc2f63..a99c7d0 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -4698,11 +4698,11 @@ static void method_test_GCP_return(
>  	if (method_check_type(fw, name, buf, ACPI_TYPE_INTEGER) != FWTS_OK)
>  		return;
>  
> -	if (obj->Integer.Value & ~0x1f)
> +	if (obj->Integer.Value & ~0x1ff)
>  		fwts_failed(fw, LOG_LEVEL_MEDIUM,
>  			"Method_GCPReturn",
> -			"%s returned %" PRId64 ", should be between 0 and 31, "
> -			"one or more of the reserved bits 5..31 seem "
> +			"%s returned %" PRId64 ", should be between 0 and 0x1ff, "
> +			"one or more of the reserved bits 9..31 seem "
>  			"to be set.",
>  			name, (uint64_t)obj->Integer.Value);
>  	else
> 
Acked-by: Colin Ian King <colin.king@canonical.com>

-- 
fwts-devel mailing list
fwts-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/fwts-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic