ACK: [PATCH 03/14] acpi: pdtt: update flags defintion according to mantis 1867 (ACPI 6.3)

Colin Ian King colin.king at canonical.com
Fri Feb 8 11:40:55 UTC 2019


On 08/02/2019 03:23, Alex Hung wrote:
> Signed-off-by: Alex Hung <alex.hung at canonical.com>
> ---
>  src/acpi/pdtt/pdtt.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/acpi/pdtt/pdtt.c b/src/acpi/pdtt/pdtt.c
> index fe514d03..b538cab3 100644
> --- a/src/acpi/pdtt/pdtt.c
> +++ b/src/acpi/pdtt/pdtt.c
> @@ -75,7 +75,7 @@ static int pdtt_test1(fwts_framework *fw)
>  	for (i = 0; i < pdtt->trigger_count; i++) {
>  		fwts_log_info_verbatim(fw, "    Sub channel ID:          0x%2.2" PRIx8, entry->sub_channel_id);
>  		fwts_log_info_verbatim(fw, "    Flags:                   0x%2.2" PRIx8, entry->flags);
> -		fwts_acpi_reserved_bits_check(fw, "PDTT", "Flags", entry->flags, sizeof(entry->flags), 2, 7, &passed);
> +		fwts_acpi_reserved_bits_check(fw, "PDTT", "Flags", entry->flags, sizeof(entry->flags), 3, 7, &passed);
>  
>  		if ((offset += sizeof(fwts_acpi_table_pdtt_channel)) > table->length) {
>  			passed = false;
> 

Acked-by: Colin Ian King <colin.king at canonical.com>



More information about the fwts-devel mailing list