diff options
author | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-09-27 16:42:07 -0400 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-09-27 16:43:39 -0400 |
commit | 392f44d3e7894f6fe314b85b4a1611b7b1d98226 (patch) | |
tree | 2cc6c8be1b099ea39c21f6f3b88001ad59a0e1f4 | |
parent | 0b26ab9dce74f8ac77d7eef0d683ab1d527e45b1 (diff) |
Bluetooth: Fix two warnings in BT_DBG
We just need to use the right modifiers
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
-rw-r--r-- | net/bluetooth/a2mp.c | 2 | ||||
-rw-r--r-- | net/bluetooth/hci_event.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/a2mp.c b/net/bluetooth/a2mp.c index 47565d28b27f..61e657ae71e9 100644 --- a/net/bluetooth/a2mp.c +++ b/net/bluetooth/a2mp.c | |||
@@ -383,7 +383,7 @@ static int a2mp_getampassoc_rsp(struct amp_mgr *mgr, struct sk_buff *skb, | |||
383 | if (len < sizeof(*rsp)) | 383 | if (len < sizeof(*rsp)) |
384 | return -EINVAL; | 384 | return -EINVAL; |
385 | 385 | ||
386 | BT_DBG("id %d status 0x%2.2x assoc len %u", rsp->id, rsp->status, | 386 | BT_DBG("id %d status 0x%2.2x assoc len %lu", rsp->id, rsp->status, |
387 | len - sizeof(*rsp)); | 387 | len - sizeof(*rsp)); |
388 | 388 | ||
389 | if (rsp->status) | 389 | if (rsp->status) |
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c index 7e716698fe64..2551c4b9d65e 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, | |||
883 | rem_len = __le16_to_cpu(rp->rem_len); | 883 | rem_len = __le16_to_cpu(rp->rem_len); |
884 | 884 | ||
885 | if (rem_len > frag_len) { | 885 | if (rem_len > frag_len) { |
886 | BT_DBG("frag_len %d rem_len %d", frag_len, rem_len); | 886 | BT_DBG("frag_len %ld rem_len %ld", frag_len, rem_len); |
887 | 887 | ||
888 | memcpy(assoc->data + assoc->offset, rp->frag, frag_len); | 888 | memcpy(assoc->data + assoc->offset, rp->frag, frag_len); |
889 | assoc->offset += frag_len; | 889 | assoc->offset += frag_len; |