Message ID | 20210515055915.709906-1-alex.hung@canonical.com |
---|---|
State | Accepted |
Headers | show |
Series | acpiinfo: update ACPI 6.4 vs. ACPICA versions | expand |
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>
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 --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;
Signed-off-by: Alex Hung <alex.hung@canonical.com> --- src/acpi/acpiinfo/acpiinfo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)