]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ACPICA: disassembler: getting rid of error message
authorErik Schmauss <erik.schmauss@intel.com>
Fri, 17 Nov 2017 23:40:16 +0000 (15:40 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 27 Nov 2017 00:20:28 +0000 (01:20 +0100)
ACPICA commit 7d542c6f97e27f7d0e90be1afd98097c3840e007

This error message tends to clutter up the disassembled ASL
file with information that is unnecessary.

Link: https://github.com/acpica/acpica/commit/7d542c6f
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/psobject.c

index 8cbe361593769ae01b8df9a091c818e237518062..c0b179883ff25ffe8e4f5c8789570a76a3e6cd97 100644 (file)
@@ -372,15 +372,8 @@ acpi_ps_create_op(struct acpi_walk_state *walk_state,
                         * external declaration opcode. Setting walk_state->Aml to
                         * walk_state->parser_state.Aml + 2 moves increments the
                         * walk_state->Aml past the object type and the paramcount of the
-                        * external opcode. For the error message, only print the AML
-                        * offset. We could attempt to print the name but this may cause
-                        * a segmentation fault when printing the namepath because the
-                        * AML may be incorrect.
+                        * external opcode.
                         */
-                       acpi_os_printf
-                           ("// Invalid external declaration at AML offset 0x%x.\n",
-                            walk_state->aml -
-                            walk_state->parser_state.aml_start);
                        walk_state->aml = walk_state->parser_state.aml + 2;
                        walk_state->parser_state.aml = walk_state->aml;
                        return_ACPI_STATUS(AE_CTRL_PARSE_CONTINUE);