ACK: [PATCH] acpi: method: acpi 6.0 adds USB-C Connection to _UPC

Colin Ian King colin.king at canonical.com
Mon Jun 6 09:31:26 UTC 2016


On 06/06/16 10:19, Alex Hung wrote:
> Signed-off-by: Alex Hung <alex.hung at canonical.com>
> ---
>  src/acpi/method/method.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
> index 3150663..7adb3fa 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -4599,7 +4599,7 @@ static void method_test_UPC_return(
>  		return;
>  
>  	connector_type = obj->Package.Elements[1].Integer.Value;
> -	if (connector_type  > 6 && connector_type < 0xFF) {
> +	if (connector_type  > 0x0a && connector_type < 0xFF) {
>  		fwts_failed(fw, LOG_LEVEL_MEDIUM, "Method_UPCBadReturnType",
>  			"%s element 1 returned reserved value.", name);
>  		return;
> 
Acked-by: Colin Ian King <colin.king at canonical.com>



More information about the fwts-devel mailing list