Bluetooth: Use %zu print specifier for size_t type
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Fri, 28 Sep 2012 11:44:23 +0000 (14:44 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 28 Sep 2012 15:18:22 +0000 (12:18 -0300)
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>
net/bluetooth/hci_event.c

index 3151d8581733e66c9314e275b304d46210f63ba5..82e478a459ff6700b3375bce59b9c3aa1e19c4a0 100644 (file)
@@ -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;