projects
/
linux-2.6-microblaze.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-microblaze.git]
/
net
/
ncsi
/
ncsi-cmd.c
diff --git
a/net/ncsi/ncsi-cmd.c
b/net/ncsi/ncsi-cmd.c
index
b010ae9
..
5e03ed1
100644
(file)
--- a/
net/ncsi/ncsi-cmd.c
+++ b/
net/ncsi/ncsi-cmd.c
@@
-331,7
+331,7
@@
int ncsi_xmit_cmd(struct ncsi_cmd_arg *nca)
}
/* Fill the ethernet header */
- eh =
(struct ethhdr *)
skb_push(nr->cmd, sizeof(*eh));
+ eh = skb_push(nr->cmd, sizeof(*eh));
eh->h_proto = htons(ETH_P_NCSI);
eth_broadcast_addr(eh->h_dest);
eth_broadcast_addr(eh->h_source);