summaryrefslogtreecommitdiff
path: root/net/bluetooth
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-01-13 10:09:48 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2015-01-14 11:02:45 +0300
commit5ced24644b9f72c6fdd3c1ed2d0fd53a6d568b04 (patch)
tree25e746bd1fba00ab9cff4b00917ccdf92ac35122 /net/bluetooth
parent36f260ceff9d2a3ac53882eec941a1424719f2a6 (diff)
downloadlinux-5ced24644b9f72c6fdd3c1ed2d0fd53a6d568b04.tar.xz
Bluetooth: Use %llu for printing duration details of selftests
The duration variable for the selftests is unsigned long long and with that use %llu instead of %lld when printing the results. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth')
-rw-r--r--net/bluetooth/selftest.c2
-rw-r--r--net/bluetooth/smp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/selftest.c b/net/bluetooth/selftest.c
index 9c67315172cf..378f4064952c 100644
--- a/net/bluetooth/selftest.c
+++ b/net/bluetooth/selftest.c
@@ -184,7 +184,7 @@ static int __init test_ecdh(void)
delta = ktime_sub(rettime, calltime);
duration = (unsigned long long) ktime_to_ns(delta) >> 10;
- BT_INFO("ECDH test passed in %lld usecs", duration);
+ BT_INFO("ECDH test passed in %llu usecs", duration);
return 0;
}
diff --git a/net/bluetooth/smp.c b/net/bluetooth/smp.c
index 96c7d51a2753..379654e70e6f 100644
--- a/net/bluetooth/smp.c
+++ b/net/bluetooth/smp.c
@@ -3387,7 +3387,7 @@ static int __init run_selftests(struct crypto_blkcipher *tfm_aes,
delta = ktime_sub(rettime, calltime);
duration = (unsigned long long) ktime_to_ns(delta) >> 10;
- BT_INFO("SMP test passed in %lld usecs", duration);
+ BT_INFO("SMP test passed in %llu usecs", duration);
return 0;
}