Skip to contentSkip to conversation

toshiba_bluetooth: Fix build warning

PATCH In review Azael Avalos 2 participants 2 messages May 8, 2015 – May 11, 2015

Subsystems (2)
lore
Share & tools
lore

Azael Avalos

author maintainer
#0 lore raw

PATCH 1/1 toshiba_bluetooth: Fix build warning

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.

---
 drivers/platform/x86/toshiba_bluetooth.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/x86/toshiba_bluetooth.c +1 -1
index 220645a..c5e4508 100644
@@ -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;
Signature · 1 line
2.3.6
#1 lore raw
Quoted 6 lines · 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.

Integrated into:

toshiba_bluetooth: Change BT status message to debug

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

Thanks Azael,

Signature · 2 lines
Darren Hart
Intel Open Source Technology Center