From patchwork Mon May 29 06:22:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe JAILLET X-Patchwork-Id: 686726 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C23D9C7EE23 for ; Mon, 29 May 2023 06:31:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230249AbjE2GbX (ORCPT ); Mon, 29 May 2023 02:31:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230328AbjE2GbW (ORCPT ); Mon, 29 May 2023 02:31:22 -0400 X-Greylist: delayed 521 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 28 May 2023 23:30:48 PDT Received: from smtp.smtpout.orange.fr (smtp-23.smtpout.orange.fr [80.12.242.23]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9BD66AF for ; Sun, 28 May 2023 23:30:48 -0700 (PDT) Received: from pop-os.home ([86.243.2.178]) by smtp.orange.fr with ESMTPA id 3WGaqT3FDsdVE3WGaqliG4; Mon, 29 May 2023 08:22:06 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1685341326; bh=heLRroh3CNUr9htV1zv4nneIJNvGBNjdwo/3UP94dsE=; h=From:To:Cc:Subject:Date; b=btPa7tEYR3wji3B48+qtsDvNhW+06Wj/DppAKuqLoJKXBAOt16OnpHCx92Kpwe3z5 J2UuVDEpW1l+c2zCqsm3vLRGXBf78dY2HCOelqcLAV3yG9FgFexkDr2kirFpGuV/xk jCIKPGp313eOanwqlzwb/ENKyu1BZE+6ocLDuLx+bkUj6yF+BWgWEQCfR+gu6r/5Hd k3my2hmg3LFEAR4zDlxTl5dXwKJHWD3z+TWxsYDtJWOU0/1vB8SmH2N8/gR631u9p7 oFRTGBYrlE8gzBEGyH2hTjU32hr8232P8LXMrQFbRzdMWpLSrSrudpR3m5Zzu/z45s GfX2z8KLQGm5A== X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Mon, 29 May 2023 08:22:06 +0200 X-ME-IP: 86.243.2.178 From: Christophe JAILLET To: Robert Moore , "Rafael J. Wysocki" , Len Brown Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET , linux-acpi@vger.kernel.org, acpica-devel@lists.linuxfoundation.org Subject: [PATCH] ACPICA: Slightly simplify an error message in acpi_ds_result_push() Date: Mon, 29 May 2023 08:22:02 +0200 Message-Id: <4464371bc72147e10a392a1873466c8df033039c.1685341309.git.christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org 'object' is known to be NULL at this point. There is little value to log it twice in the error message. Signed-off-by: Christophe JAILLET --- drivers/acpi/acpica/dswstate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/acpica/dswstate.c b/drivers/acpi/acpica/dswstate.c index d3841ded3a81..75338a13c802 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); }