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

Alex Hung alex.hung at canonical.com
Fri Jun 16 04:41:50 UTC 2017


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) {
-- 
2.7.4




More information about the fwts-devel mailing list