public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] toshiba_bluetooth: Fix build warning
@ 2015-05-08 16:15 Azael Avalos
  2015-05-11 17:40 ` Darren Hart
  0 siblings, 1 reply; 2+ messages in thread
From: Azael Avalos @ 2015-05-08 16:15 UTC (permalink / raw)
  To: Darren Hart, platform-driver-x86, linux-kernel; +Cc: Azael Avalos

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 <coproscefalo@gmail.com>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] toshiba_bluetooth: Fix build warning
  2015-05-08 16:15 [PATCH] toshiba_bluetooth: Fix build warning Azael Avalos
@ 2015-05-11 17:40 ` Darren Hart
  0 siblings, 0 replies; 2+ messages in thread
From: Darren Hart @ 2015-05-11 17:40 UTC (permalink / raw)
  To: Azael Avalos; +Cc: platform-driver-x86, linux-kernel

On Fri, May 08, 2015 at 10:15:29AM -0600, Azael Avalos wrote:
> 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 <coproscefalo@gmail.com>

Integrated into:

toshiba_bluetooth: Change BT status message to debug

And now everything is in my public for-next branch.

Thanks Azael,

-- 
Darren Hart
Intel Open Source Technology Center

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-11 17:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-08 16:15 [PATCH] toshiba_bluetooth: Fix build warning Azael Avalos
2015-05-11 17:40 ` Darren Hart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox