Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp776109pxb; Tue, 2 Feb 2021 18:21:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJz3oH8HMWOfqfe/wtBHqfjJ1071HYoVCTGDrXCZnL2zIxak4y0nY1PkIFBys5kYWYCxqMhi X-Received: by 2002:a17:907:7255:: with SMTP id ds21mr962645ejc.258.1612318861903; Tue, 02 Feb 2021 18:21:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612318861; cv=none; d=google.com; s=arc-20160816; b=ChFqB0Z6AJQl68Rh+GnnNgt/6IX70WGMWkPnsjVSjUp4l7oLvKtciYJsGNJmOtn8M1 S8+EwWCXxff72x6Pdh8qG7+xx6l747iEZoicyObYQ+1b8+KvfDtHsmGeetF8mwIfGf2g xzmMyX56/bb/zSWnoq6k41Cs72y3QXdVrakd3MgB2Z68rNlRe0dHjYO+4pBq7lq9Nysj rm3RX66lpc3p+VQHhZqWmLV3gcE5gjxUFR7gEaWLvIqbSgpoyAA1g+gE2njF2/6MAYzz nMiDa64lGbSWdz0bZjd9+ktaKEEneHYcbjWiDn7mdX7KE3Q3bHa4RSIlIUfGLgjaLJVY nBxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=k8VUNUElqUsesxF6Ef9JpNqiCnf/ahZ+VcPCnoKtiDI=; b=Lm3riA3fwWEguB5zkkZvwjgI+uO+4sMG7U3+a7tYUS8a2s5kudpS9nepwGlmeZgh4u 1s72U8LVUnwPP0WJ/KX4PL6HoONLkoJc0ptXKTVKmmxn502x1EHY6kvspCx+Wu13zpoJ OgeZz9kCuNanXDEuLHXC4X3syMDLOBA1T3m4nXw8l1EpFXU7lGBtpGVVOw+wic2fV+Hm cPE+zhNEcXwiwj/gCA2xNMAYDGGvANqs81hLwPnHw5OvVVBjsPBBgf8RzhAK2Q1vCAK0 yoWmctlctvSuVbZbxIijrgOsYd7s7WSMd2w+IIblC3gM7nCViAXXDNMVEoh2eJWwO8xA XKiQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gj7si413165ejb.706.2021.02.02.18.20.37; Tue, 02 Feb 2021 18:21:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231934AbhBCCRC (ORCPT + 99 others); Tue, 2 Feb 2021 21:17:02 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:12010 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231904AbhBCCQ7 (ORCPT ); Tue, 2 Feb 2021 21:16:59 -0500 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4DVlcy6tvKzjJ8L; Wed, 3 Feb 2021 10:14:58 +0800 (CST) Received: from [10.174.178.147] (10.174.178.147) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.498.0; Wed, 3 Feb 2021 10:16:16 +0800 Subject: Re: [PATCH v2 4/5] ACPI: video: Clean up printing messages To: "Rafael J. Wysocki" , Linux ACPI CC: Linux PM , LKML , "Rafael J. Wysocki" , Zhang Rui , Hans de Goede , Erik Kaneda , "Joe Perches" References: <2367702.B5bJTmGzJm@kreacher> <1991501.dpTHplkurC@kreacher> <14420740.AtFQDP28HA@kreacher> From: Hanjun Guo Message-ID: <9fe936a0-0293-74af-2168-5530f7732d07@huawei.com> Date: Wed, 3 Feb 2021 10:16:15 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <14420740.AtFQDP28HA@kreacher> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.178.147] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/2/3 2:18, Rafael J. Wysocki wrote: [...] > Also make one unrelated janitorial change to fix up white space and > use ACPI_FAILURE() instead of negating ACPI_SUCCESS(). [...] > status = acpi_evaluate_object(video->device->handle, "_DOD", NULL, &buffer); > if (!ACPI_SUCCESS(status)) { if (ACPI_FAILURE(status)) > - ACPI_EXCEPTION((AE_INFO, status, "Evaluating _DOD")); > + acpi_handle_info(video->device->handle, > + "_DOD evaluation failed: %s\n", > + acpi_format_exception(status)); Thanks Hanjun