[dpdk-dev] [PATCH v2] net/i40evf: fix casting between structs

Ferruh Yigit ferruh.yigit at intel.com
Wed Nov 30 14:46:40 CET 2016


On 11/30/2016 2:02 AM, Jingjing Wu wrote:
> Casting from structs which lay out data in typed members
> to structs which have flat memory buffers, will cause
> problems if the alignment of the former isn't as expected.
> This patch removes the casting between structs.
> 
> Fixes: ae19955e7c86 ("i40evf: support reporting PF reset")
> Signed-off-by: Jingjing Wu <jingjing.wu at intel.com>

Applied to dpdk-next-net/master, thanks.



More information about the dev mailing list