diff options
author | Robert Moore <Robert.Moore@intel.com> | 2020-01-31 13:15:59 -0800 |
---|---|---|
committer | Robert Moore <Robert.Moore@intel.com> | 2020-01-31 13:15:59 -0800 |
commit | ed3462da8bfb6b147a91047e64c6f0dea7808958 (patch) | |
tree | e0d3cfd0eb9480975f881e19ef3851de92114438 /source/compiler/aslmessages.c | |
parent | 52c3a6f5416d29f2271858a6adee32f7b90cf080 (diff) | |
download | acpica-ed3462da8bfb6b147a91047e64c6f0dea7808958.tar.gz |
iASL: Update some error messages (emit full namepath)
For these messages, emit the full namepath for the method in question:
NO_RETVAL
SOME_NO_RETVAL
NAMED_OBJECT_CREATION
SERIALIZED_REQUIRED
RETURN_TYPES
Diffstat (limited to 'source/compiler/aslmessages.c')
-rw-r--r-- | source/compiler/aslmessages.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/compiler/aslmessages.c b/source/compiler/aslmessages.c index 4dd5573a6..207966b45 100644 --- a/source/compiler/aslmessages.c +++ b/source/compiler/aslmessages.c @@ -320,7 +320,7 @@ const char *AslCompilerMsgs [] = /* ASL_MSG_SCOPE_TYPE */ "Existing object has invalid type for Scope operator", /* ASL_MSG_SEEK */ "Could not seek file", /* ASL_MSG_SERIALIZED */ "Control Method marked Serialized", -/* ASL_MSG_SERIALIZED_REQUIRED */ "Control Method should be made Serialized", +/* ASL_MSG_SERIALIZED_REQUIRED */ "Control Method should be made Serialized due to creation of named objects within", /* ASL_MSG_SINGLE_NAME_OPTIMIZATION */ "NamePath optimized to NameSeg (uses run-time search path)", /* ASL_MSG_SOME_NO_RETVAL */ "Called method may not always return a value", /* ASL_MSG_STRING_LENGTH */ "String literal too long", @@ -373,7 +373,7 @@ const char *AslCompilerMsgs [] = /* ASL_MSG_CASE_FOUND_HERE */ "Original Case value below:", /* ASL_MSG_EXTERN_INVALID_RET_TYPE */ "Return type is only allowed for Externals declared as MethodObj", /* ASL_MSG_EXTERN_INVALID_PARAM_TYPE */ "Parameter type is only allowed for Externals declared as MethodObj", -/* ASL_MSG_NAMED_OBJECT_CREATION */ "Creation of named objects within a method is highly inefficient", +/* ASL_MSG_NAMED_OBJECT_CREATION */ "Creation of named objects within a method is highly inefficient, use globals or method local variables instead", /* ASL_MSG_ARG_COUNT_MISMATCH */ "Method NumArgs count does not match length of ParameterTypes list", /* ASL_MSG_STATIC_OPREGION_IN_METHOD */ "Static OperationRegion should be declared outside control method", }; |