From: Eric Dumazet Date: Mon, 25 May 2015 23:06:37 +0000 (-0700) Subject: pktgen: remove one sparse error X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~213 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4969581452be430135ba5040c5b6c9023c1d461;p=pandora-kernel.git 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] 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed