From: Christophe Jaillet <679652+tititiou36@users.noreply.github.com> Date: Mon, 29 May 2023 15:09:43 +0000 (+0200) Subject: ACPICA: Slightly simplify an error message in acpi_ds_result_push() X-Git-Tag: v6.6.7~2097^2~6^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1e8d007a6adb6c64e9ee9c809d6f9c11d3ed0c70;p=platform%2Fkernel%2Flinux-starfive.git ACPICA: Slightly simplify an error message in acpi_ds_result_push() ACPICA commit 3a9dbc5cb1573b87a16b50918977ab9e53e24408 'object' is known to be NULL at this point. There is little value to log it twice in the error message. Link: https://github.com/acpica/acpica/commit/3a9dbc5c Signed-off-by: Christophe JAILLET Signed-off-by: Bob Moore Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/acpi/acpica/dswstate.c b/drivers/acpi/acpica/dswstate.c index d3841ded..75338a1 100644 --- a/drivers/acpi/acpica/dswstate.c +++ b/drivers/acpi/acpica/dswstate.c @@ -146,8 +146,8 @@ acpi_ds_result_push(union acpi_operand_object *object, if (!object) { ACPI_ERROR((AE_INFO, - "Null Object! Obj=%p State=%p Num=%u", - object, walk_state, walk_state->result_count)); + "Null Object! State=%p Num=%u", + walk_state, walk_state->result_count)); return (AE_BAD_PARAMETER); }