summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Moore <Robert.Moore@intel.com>2022-01-20 12:49:59 -0800
committerRobert Moore <Robert.Moore@intel.com>2022-01-20 12:49:59 -0800
commitaeb5d1e71aeb86e00c87240afb7235f7a9adf1cb (patch)
treec4cad3b4b6941f8396d12dc6b0a3028bf30e400b
parentcf7d6ccc009aa04a475bca81dc7af0342bb7c1eb (diff)
downloadacpica-aeb5d1e71aeb86e00c87240afb7235f7a9adf1cb.tar.gz
Remove a remark due to excessive output
Removed a remark for duplicate Offset() operators, due to a user complaint.
-rw-r--r--source/compiler/aslmessages.c3
-rw-r--r--source/compiler/asloperands.c6
2 files changed, 8 insertions, 1 deletions
diff --git a/source/compiler/aslmessages.c b/source/compiler/aslmessages.c
index ca50d2814..accf42160 100644
--- a/source/compiler/aslmessages.c
+++ b/source/compiler/aslmessages.c
@@ -193,7 +193,8 @@ const char *AslErrorLevelIde [ASL_NUM_REPORT_LEVELS] = {
*
* NOTE2: With the introduction of the -vw option to disable specific messages,
* new messages should only be added to the end of this list, so that values
- * for existing messages are not disturbed.
+ * for existing messages are not disturbed. As important, obsolete messages
+ * cannot be removed from this list, as it will affect the -vw option.
*/
/* ASL compiler */
diff --git a/source/compiler/asloperands.c b/source/compiler/asloperands.c
index ae3b918df..c2e9d5aba 100644
--- a/source/compiler/asloperands.c
+++ b/source/compiler/asloperands.c
@@ -429,6 +429,11 @@ OpnDoFieldCommon (
Next->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG;
PkgLengthNode->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG;
}
+#ifdef _OBSOLETE_CODE
+ /*
+ * January 2022: removed this check due to complaints by users
+ * for too many (invalid) remarks.
+ */
else if (NewBitOffset == CurrentBitOffset)
{
/*
@@ -459,6 +464,7 @@ OpnDoFieldCommon (
CurrentBitOffset = NewBitOffset;
}
}
+#endif
else
{
/*