From patchwork Thu Apr 6 06:46:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TWljaGHFgiBLxJlwaWXFhA==?= X-Patchwork-Id: 9666157 X-Patchwork-Delegate: dvhart@infradead.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2649560364 for ; Thu, 6 Apr 2017 06:46:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1613F2236A for ; Thu, 6 Apr 2017 06:46:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0AA6F28574; Thu, 6 Apr 2017 06:46:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 801172236A for ; Thu, 6 Apr 2017 06:46:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932161AbdDFGqP (ORCPT ); Thu, 6 Apr 2017 02:46:15 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:34171 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756268AbdDFGqP (ORCPT ); Thu, 6 Apr 2017 02:46:15 -0400 Received: by mail-lf0-f68.google.com with SMTP id x137so2826005lff.1 for ; Wed, 05 Apr 2017 23:46:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kempniu.pl; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=V/y5J0hWtfn0VDWnk/9sIMM8oYtggTzVmXftc2ZHP7M=; b=OLXc9naDn99OuPdWBTCB/4SwwG3pqt23ViFnf26jF1/virfgU2iJ+iWteWStSoyc6T 79zIUw9AgOhcLFcIVlB5rq8Y5IkrRxbYlR3Y8nBc5eNx042sq16dSOlUwR0oGjMGtU2x fS3zHF0S9YKTqIhQvrCLEMfsTbeKW+tfi0HJA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=V/y5J0hWtfn0VDWnk/9sIMM8oYtggTzVmXftc2ZHP7M=; b=VovEC6546KWR3ctC9+ks0GxfjjliQ08Rtoi9NRw8PSveAi8Sb2QfHrtIn7LyTNfRkk p7qTYVwq0rVflldARJbc5l5O3G0TcT2ROW6fj5+wqCNUo8yB119dFuRysoCt+slBkxHz yagz4ryGONzHtQtLsjnoCTUuem5JO9YIDDPub4cbR2npBDbm26VfEZcrfjlR2zS3HuaF TH0gqBkTazgP88vuBDyy1ewi5oVoLL6DCyflld55LvxzrheC8fFMaZ/gCfAcgyiD/DnE RfIH17SeYt+uM277tmgGyF0S43Kt9gKwmCfSzNb/lqF1BlUUxEzcx1qghX4M7U28DEen 7KIA== X-Gm-Message-State: AFeK/H1vUGHTyxZM78/X6p4kBefJDHqY0CexF8+kvbMLirC/GKDf25OsmywwyA6NLefb2A== X-Received: by 10.46.32.17 with SMTP id g17mr9349218ljg.37.1491461173220; Wed, 05 Apr 2017 23:46:13 -0700 (PDT) Received: from ozzy.hq.kempniu.pl ([2001:a10:160:3::3]) by smtp.googlemail.com with ESMTPSA id u26sm141144ljd.34.2017.04.05.23.46.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Apr 2017 23:46:12 -0700 (PDT) From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= To: Jonathan Woithe , Darren Hart , Andy Shevchenko Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] platform/x86: fujitsu-laptop: update debug message logged by call_fext_func() Date: Thu, 6 Apr 2017 08:46:10 +0200 Message-Id: <20170406064610.13984-1-kernel@kempniu.pl> X-Mailer: git-send-email 2.12.2 MIME-Version: 1.0 Sender: platform-driver-x86-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Update debug message logged when the acpi_evaluate_integer() call inside call_fext_func() fails so that it covers a broader set of possible errors. Signed-off-by: Michał Kępień Reviewed-by: Jonathan Woithe --- This patch is a follow-up to v1 of the call_fext_func() cleanup series and as such, it should be applied to for-next. drivers/platform/x86/fujitsu-laptop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/x86/fujitsu-laptop.c b/drivers/platform/x86/fujitsu-laptop.c index 26149f58dba7..928778ccc4c1 100644 --- a/drivers/platform/x86/fujitsu-laptop.c +++ b/drivers/platform/x86/fujitsu-laptop.c @@ -232,7 +232,7 @@ static int call_fext_func(int func, int op, int feature, int state) status = acpi_evaluate_integer(fujitsu_laptop->acpi_handle, "FUNC", &arg_list, &value); if (ACPI_FAILURE(status)) { - vdbg_printk(FUJLAPTOP_DBG_ERROR, "FUNC interface is not present\n"); + vdbg_printk(FUJLAPTOP_DBG_ERROR, "Failed to evaluate FUNC\n"); return -ENODEV; }