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

ivanhu ivan.hu at canonical.com
Wed Jun 8 07:08:09 UTC 2016



On 2016年06月06日 17: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: Ivan Hu <ivan.hu at canonical.com>



More information about the fwts-devel mailing list