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]
/
drivers
/
nfc
/
fdp
/
i2c.c
diff --git
a/drivers/nfc/fdp/i2c.c
b/drivers/nfc/fdp/i2c.c
index 97f003e843816b7b6d099a4a5c1001eb314db58c..d5781aa0f79143917f70dc2e8a01d44eaff593af 100644
(file)
--- a/
drivers/nfc/fdp/i2c.c
+++ b/
drivers/nfc/fdp/i2c.c
@@
-79,8
+79,8
@@
static void fdp_nci_i2c_add_len_lrc(struct sk_buff *skb)
/* Add length header */
len = skb->len;
- *skb_push(skb, 1) = len & 0xff;
- *skb_push(skb, 1) = len >> 8;
+ *
(u8 *)
skb_push(skb, 1) = len & 0xff;
+ *
(u8 *)
skb_push(skb, 1) = len >> 8;
/* Compute and add lrc */
for (i = 0; i < len + 2; i++)