Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933446AbdDFGqU (ORCPT ); Thu, 6 Apr 2017 02:46:20 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:35930 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756281AbdDFGqP (ORCPT ); Thu, 6 Apr 2017 02:46:15 -0400 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1031 Lines: 27 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ń --- 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; } -- 2.12.2