diff mbox series

acpiinfo: update ACPI 6.4 vs. ACPICA versions

Message ID 20210515055915.709906-1-alex.hung@canonical.com
State Accepted
Headers show
Series acpiinfo: update ACPI 6.4 vs. ACPICA versions | expand

Commit Message

Alex Hung May 15, 2021, 5:59 a.m. UTC
Signed-off-by: Alex Hung <alex.hung@canonical.com>
---
 src/acpi/acpiinfo/acpiinfo.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

ivanhu May 17, 2021, 6:24 a.m. UTC | #1
On 5/15/21 1:59 PM, Alex Hung wrote:
> Signed-off-by: Alex Hung <alex.hung@canonical.com>
> ---
>  src/acpi/acpiinfo/acpiinfo.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/src/acpi/acpiinfo/acpiinfo.c b/src/acpi/acpiinfo/acpiinfo.c
> index 67553840..2b42624b 100644
> --- a/src/acpi/acpiinfo/acpiinfo.c
> +++ b/src/acpi/acpiinfo/acpiinfo.c
> @@ -79,7 +79,9 @@ static int acpiinfo_test1(fwts_framework *fw)
>  
>  		sscanf(str, "%6d", &yearmonth);
>  
> -		if (yearmonth > 201902) {
> +		if (yearmonth > 202103) {
> +			version = 6.4;
> +		} else if (yearmonth > 201902) {
>  			version = 6.3;
>  		} else if (yearmonth > 201609) {
>  			version = 6.2;
> 

Acked-by: Ivan Hu <ivan.hu@canonical.com>
Colin Ian King May 20, 2021, 7:44 a.m. UTC | #2
On 15/05/2021 06:59, Alex Hung wrote:
> Signed-off-by: Alex Hung <alex.hung@canonical.com>
> ---
>  src/acpi/acpiinfo/acpiinfo.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/src/acpi/acpiinfo/acpiinfo.c b/src/acpi/acpiinfo/acpiinfo.c
> index 67553840..2b42624b 100644
> --- a/src/acpi/acpiinfo/acpiinfo.c
> +++ b/src/acpi/acpiinfo/acpiinfo.c
> @@ -79,7 +79,9 @@ static int acpiinfo_test1(fwts_framework *fw)
>  
>  		sscanf(str, "%6d", &yearmonth);
>  
> -		if (yearmonth > 201902) {
> +		if (yearmonth > 202103) {
> +			version = 6.4;
> +		} else if (yearmonth > 201902) {
>  			version = 6.3;
>  		} else if (yearmonth > 201609) {
>  			version = 6.2;
> 


Acked-by: Colin Ian King <colin.king@canonical.com>
diff mbox series

Patch

diff --git a/src/acpi/acpiinfo/acpiinfo.c b/src/acpi/acpiinfo/acpiinfo.c
index 67553840..2b42624b 100644
--- a/src/acpi/acpiinfo/acpiinfo.c
+++ b/src/acpi/acpiinfo/acpiinfo.c
@@ -79,7 +79,9 @@  static int acpiinfo_test1(fwts_framework *fw)
 
 		sscanf(str, "%6d", &yearmonth);
 
-		if (yearmonth > 201902) {
+		if (yearmonth > 202103) {
+			version = 6.4;
+		} else if (yearmonth > 201902) {
 			version = 6.3;
 		} else if (yearmonth > 201609) {
 			version = 6.2;