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

2016-11-30 Thread Ferruh Yigit
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

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

2016-11-30 Thread Jingjing Wu
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: