[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150525.202843.1224223950662769355.davem@davemloft.net>
Date: Mon, 25 May 2015 20:28:43 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] pktgen: remove one sparse error
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 25 May 2015 16:06:37 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> 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@...gle.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists