aboutsummaryrefslogtreecommitdiff
path: root/net/bluetooth/hci_event.c
diff options
context:
space:
mode:
authorAndrei Emeltchenko2012-09-28 14:44:23 +0300
committerGustavo Padovan2012-09-28 12:18:22 -0300
commit2e430be386e97224c37086a5a48fa05a9f9b79bb (patch)
tree590de3f00340fa7741bb40a37fbad557b8f0b233 /net/bluetooth/hci_event.c
parent29d8a5909bba10accb82eb805c884a2943d7710f (diff)
Bluetooth: Use %zu print specifier for size_t type
Correct warnings Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'net/bluetooth/hci_event.c')
-rw-r--r--net/bluetooth/hci_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c
index 3151d8581733..82e478a459ff 100644
--- a/net/bluetooth/hci_event.c
+++ b/net/bluetooth/hci_event.c
@@ -883,7 +883,7 @@ static void hci_cc_read_local_amp_assoc(struct hci_dev *hdev,
rem_len = __le16_to_cpu(rp->rem_len);
if (rem_len > frag_len) {
- BT_DBG("frag_len %ld rem_len %ld", frag_len, rem_len);
+ BT_DBG("frag_len %zu rem_len %zu", frag_len, rem_len);
memcpy(assoc->data + assoc->offset, rp->frag, frag_len);
assoc->offset += frag_len;