From accad713ae86d7dc0b500a14ab1505d680d26197 Mon Sep 17 00:00:00 2001 From: Fan Wu <email address hidden> Date: Wed, 8 Jul 2015 15:24:02 -0600 Subject: [PATCH] FWTS:syntaxcheck change the ASL_MSG_COMPILER_RESERVED failure to info
--- src/acpi/syntaxcheck/syntaxcheck.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/acpi/syntaxcheck/syntaxcheck.c b/src/acpi/syntaxcheck/syntaxcheck.c index c189e87..8be4330 100644 --- a/src/acpi/syntaxcheck/syntaxcheck.c +++ b/src/acpi/syntaxcheck/syntaxcheck.c @@ -545,7 +545,11 @@ static int syntaxcheck_table(fwts_framework *fw, int which) fwts_failed(fw, LOG_LEVEL_HIGH, label, "Assembler error in line %d", num); break; case ASL_REMARK: - fwts_failed(fw, LOG_LEVEL_LOW, label, "Assembler remark in line %d", num); + if ( syntaxcheck_error_code_to_error_number(error_code) == ASL_MSG_COMPILER_RESERVED) { + fwts_log_info(fw, "Assembler remark(info) in line %d", num); + } else { + fwts_failed(fw, LOG_LEVEL_LOW, label, "Assembler remark in line %d", num); + } break; case ASL_OPTIMIZATION: skip = true; -- 1.8.2.1
From accad713ae86d7d c0b500a14ab1505 d680d26197 Mon Sep 17 00:00:00 2001 COMPILER_ RESERVED failure
From: Fan Wu <email address hidden>
Date: Wed, 8 Jul 2015 15:24:02 -0600
Subject: [PATCH] FWTS:syntaxcheck change the ASL_MSG_
to info
--- syntaxcheck/ syntaxcheck. c | 6 +++++-
src/acpi/
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/acpi/ syntaxcheck/ syntaxcheck. c b/src/acpi/ syntaxcheck/ syntaxcheck. c syntaxcheck/ syntaxcheck. c syntaxcheck/ syntaxcheck. c table(fwts_ framework *fw, int which)
fwts_failed( fw, LOG_LEVEL_HIGH, label, "Assembler error in line %d", num);
break;
case ASL_REMARK: error_code_ to_error_ number( error_code) == ASL_MSG_ COMPILER_ RESERVED) {
break;
case ASL_OPTIMIZATION:
skip = true;
index c189e87..8be4330 100644
--- a/src/acpi/
+++ b/src/acpi/
@@ -545,7 +545,11 @@ static int syntaxcheck_
- fwts_failed(fw, LOG_LEVEL_LOW, label, "Assembler remark in line %d", num);
+ if ( syntaxcheck_
+ fwts_log_info(fw, "Assembler remark(info) in line %d", num);
+ } else {
+ fwts_failed(fw, LOG_LEVEL_LOW, label, "Assembler remark in line %d", num);
+ }
--
1.8.2.1