ACK: [PATCH 1/4] acpi: bgrt: update according to acpi 6.1 errata (mantis 1577)

ivanhu ivan.hu at canonical.com
Thu Jun 22 07:11:54 UTC 2017



On 06/16/2017 12:41 PM, Alex Hung wrote:
> Signed-off-by: Alex Hung <alex.hung at canonical.com>
> ---
>   src/acpi/bgrt/bgrt.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/acpi/bgrt/bgrt.c b/src/acpi/bgrt/bgrt.c
> index 3f2587e..2b0c456 100644
> --- a/src/acpi/bgrt/bgrt.c
> +++ b/src/acpi/bgrt/bgrt.c
> @@ -68,12 +68,12 @@ static int bgrt_test1(fwts_framework *fw)
>   			" and not the expected value of 0x01",
>   			bgrt->version);
>   	}
> -	if (bgrt->status & ~0x1) {
> +	if (bgrt->status & ~0x7) {
>   		passed = false;
>   		fwts_failed(fw, LOG_LEVEL_MEDIUM,
>   			"BGRTStatusRersevedBits",
>   			"BGRT: Status field is 0x%" PRIx8
> -			", reserved bits [1:7] should be zero",
> +			", reserved bits [7:3] should be zero",
>   			bgrt->status);
>   	}
>   	if (bgrt->image_type > 0x00) {
> 

Acked-by: Ivan Hu <ivan.hu at canonical.com>



More information about the fwts-devel mailing list