Message ID | 1465204766-10047-1-git-send-email-alex.hung@canonical.com |
---|---|
State | Accepted |
Headers | show |
On 06/06/16 10:19, Alex Hung wrote: > Signed-off-by: Alex Hung <alex.hung@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@canonical.com>
On 2016年06月06日 17:19, Alex Hung wrote: > Signed-off-by: Alex Hung <alex.hung@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@canonical.com>
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;
Signed-off-by: Alex Hung <alex.hung@canonical.com> --- src/acpi/method/method.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)