From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753842AbbEHQPh (ORCPT ); Fri, 8 May 2015 12:15:37 -0400 Received: from mail-ob0-f179.google.com ([209.85.214.179]:35978 "EHLO mail-ob0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753114AbbEHQPf (ORCPT ); Fri, 8 May 2015 12:15:35 -0400 From: Azael Avalos To: Darren Hart , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Azael Avalos Subject: [PATCH] toshiba_bluetooth: Fix build warning Date: Fri, 8 May 2015 10:15:29 -0600 Message-Id: <1431101729-4372-1-git-send-email-coproscefalo@gmail.com> X-Mailer: git-send-email 2.3.6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch fixes the build warning caused by the BT status variable, it was previously printing a u64 value, but since it was moved to another function, the value is now an int, and thus causing such warning. Signed-off-by: Azael Avalos --- drivers/platform/x86/toshiba_bluetooth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/x86/toshiba_bluetooth.c b/drivers/platform/x86/toshiba_bluetooth.c index 220645a..c5e4508 100644 --- a/drivers/platform/x86/toshiba_bluetooth.c +++ b/drivers/platform/x86/toshiba_bluetooth.c @@ -155,7 +155,7 @@ static int toshiba_bluetooth_sync_status(struct toshiba_bluetooth_dev *bt_dev) bt_dev->plugged = (status & BT_PLUGGED_MASK) ? true : false; bt_dev->powered = (status & BT_POWER_MASK) ? true : false; - pr_debug("Bluetooth status %llu killswitch %d plugged %d powered %d\n", + pr_debug("Bluetooth status %d killswitch %d plugged %d powered %d\n", status, bt_dev->killswitch, bt_dev->plugged, bt_dev->powered); return 0; -- 2.3.6