diff options
author | Eric Dumazet <edumazet@google.com> | 2015-05-26 02:06:37 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-26 03:27:50 +0300 |
commit | d4969581452be430135ba5040c5b6c9023c1d461 (patch) | |
tree | 3a30bbf36a37577567a326dfc05bcecc3e7647be /net/bridge/br_netlink.c | |
parent | 7f1598678d4c05e3e085bf780a5ab3119637ac3c (diff) | |
download | linux-d4969581452be430135ba5040c5b6c9023c1d461.tar.xz |
pktgen: remove one sparse error
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>
Diffstat (limited to 'net/bridge/br_netlink.c')
0 files changed, 0 insertions, 0 deletions