Blob Blame History Raw
From: Bob Moore <robert.moore@intel.com>
Date: Tue, 3 Aug 2021 20:10:46 +0200
Subject: ACPICA: iASL: Fix for WPBT table with no command-line arguments
Patch-mainline: v5.15-rc1
Git-commit: 87b8ec5846cb81747088d1729acaf55a1155a267
References: jsc#SLE-19223

Handle the case where the Command-line Arguments table field
does not exist.

ACPICA commit d6487164497fda170a1b1453c5d58f2be7c873d6

Link: https://github.com/acpica/acpica/commit/d6487164
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Lee, Chun-Yi <jlee@suse.com>
---
 include/acpi/actbl3.h |    4 ++++
 1 file changed, 4 insertions(+)

--- a/include/acpi/actbl3.h
+++ b/include/acpi/actbl3.h
@@ -723,6 +723,10 @@ struct acpi_table_wpbt {
 	u16 arguments_length;
 };
 
+struct acpi_wpbt_unicode {
+	u16 *unicode_string;
+};
+
 /*******************************************************************************
  *
  * WSMT - Windows SMM Security Mitigations Table