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: 100120 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1320832vqr; Sun, 28 May 2023 23:53:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6B//eNgm5/PTS/pMs3j0CyQuqpeSO28fn/DLCGML2jUZiDkPnmevbKJJc5h+dA2OS68Pv9 X-Received: by 2002:a05:6a00:10c5:b0:64d:1451:8220 with SMTP id d5-20020a056a0010c500b0064d14518220mr12933826pfu.20.1685343229901; Sun, 28 May 2023 23:53:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685343229; cv=none; d=google.com; s=arc-20160816; b=r8rFhvHQw8pu7d21IbqsiQogbq7+XQZq6S+5sFqa9cFHN13QW+m6Uzw0kqXO5h8adb dEpCKGWFE66x1mzwmCkQPHRID3QSugQ9wQcaAZ4lXbiYQNvdsZjPw9ey8YLY1SNvZvwi 2oOk9HQy1HUm1cSJIQs6BEWpluJjDsbNGTQCahiiGY6yL8nu41MZQYh1nPioMt//u9xR Pj+pze2VihMowvVe5wF3lR7LCQGqVV5i8cktciilyzVaWdLc5zzyN3K1RRZkBs+vkC7s 76/UdkNYRZApns1dHNzwIuzC5KerxEzqHyoUE260YWWmEbGGWxAd40D9AvK7FFnUFWAl 44PQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=heLRroh3CNUr9htV1zv4nneIJNvGBNjdwo/3UP94dsE=; b=i+x3mHq8BORRJqqgxImnoknQ73rRSI8hUx2u6pWpofHOtahJOiW25lyb9/EhyGDw1q dLCVTupsY23FxhZsPPntG2yacddprQKQVT3UjQ90htkx6QNzimq1qkbCRb3jOSlh30ZC mM39mp7GmfgPLuuJhvZtNq5Uu0616vMQDCrSJ8Cq3f4gLO9j6yhhFZclDJ/S+UQPEqEz D+muFlkDxunfWebl0y75WbynzDqnOa8do4z4lghQpJr3GtKWYieaIu8J0FBs2xVUlCvZ S/miBMsYR5Gd93tFGfOT0VKy822efp0kPR6QxFv7ntNhbSeYKhKQJsd9Tb7GAp/eqGNi X2Eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=btPa7tEY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q11-20020aa7960b000000b0063b57ad9891si9384258pfg.315.2023.05.28.23.53.37; Sun, 28 May 2023 23:53:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=btPa7tEY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231434AbjE2GWM (ORCPT + 99 others); Mon, 29 May 2023 02:22:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231428AbjE2GWK (ORCPT ); Mon, 29 May 2023 02:22:10 -0400 Received: from smtp.smtpout.orange.fr (smtp-23.smtpout.orange.fr [80.12.242.23]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28218C4 for ; Sun, 28 May 2023 23:22:08 -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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767210462367936172?= X-GMAIL-MSGID: =?utf-8?q?1767210462367936172?= '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); }