projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
networking: make skb_push & __skb_push return void pointers
[linux-2.6-block.git]
/
net
/
bluetooth
/
mgmt_util.c
diff --git
a/net/bluetooth/mgmt_util.c
b/net/bluetooth/mgmt_util.c
index d057113e0d4bd3bb174bde18ad3ce25480a2b413..0d0a6d77b9e8543a5c8d4ba58903cadafaaccb10 100644
(file)
--- a/
net/bluetooth/mgmt_util.c
+++ b/
net/bluetooth/mgmt_util.c
@@
-48,7
+48,7
@@
static struct sk_buff *create_monitor_ctrl_event(__le16 index, u32 cookie,
__net_timestamp(skb);
- hdr =
(void *)
skb_push(skb, HCI_MON_HDR_SIZE);
+ hdr = skb_push(skb, HCI_MON_HDR_SIZE);
hdr->opcode = cpu_to_le16(HCI_MON_CTRL_EVENT);
hdr->index = index;
hdr->len = cpu_to_le16(skb->len - HCI_MON_HDR_SIZE);