git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f15986
)
pktgen: remove one sparse error
author
Eric Dumazet
<edumazet@google.com>
Mon, 25 May 2015 23:06:37 +0000
(16:06 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 26 May 2015 00:27:50 +0000
(20:27 -0400)
net/core/pktgen.c:2672:43: warning: incorrect type in assignment (different base types)
net/core/pktgen.c:2672:43: expected unsigned short [unsigned] [short] [usertype] <noident>
net/core/pktgen.c:2672:43: got restricted __be16 [usertype] protocol
Let's use proper struct ethhdr instead of hard coding everything.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c
patch
|
blob
|
history
diff --cc
net/core/pktgen.c
Simple merge