ACK: [PATCH] lib: add PL011 to _CID whitelist
Colin Ian King
colin.king at canonical.com
Wed Nov 7 07:52:42 UTC 2018
On 07/11/2018 04:13, Alex Hung wrote:
> When attending UEFI Plugfest, a vendor suggested _CID PL011 is used in
> the field, and this ID is added to a whitelist to avoid false positive.
>
> Signed-off-by: Alex Hung <alex.hung at canonical.com>
> ---
> src/lib/src/fwts_acpi_object_eval.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/src/lib/src/fwts_acpi_object_eval.c b/src/lib/src/fwts_acpi_object_eval.c
> index 0bc0f134..95f7df76 100644
> --- a/src/lib/src/fwts_acpi_object_eval.c
> +++ b/src/lib/src/fwts_acpi_object_eval.c
> @@ -968,6 +968,10 @@ bool fwts_method_valid_HID_string(char *str)
> return true;
> }
>
> + /* PL011 is used out there, so whitelist it */
> + if (strlen(str) == 5 && !strncmp(str, "PL011", 5))
> + return true;
> +
> return false;
> }
>
>
Acked-by: Colin Ian King <colin.king at canonical.com>
More information about the fwts-devel
mailing list