[dpdk-dev] [PATCH] i40e: fix the build error with gcc 4.4

2015-07-08 Thread Jingjing Wu
Fix the build warning reported like: error: dereferencing pointer 'cmd' does break strict-aliasing rules Signed-off-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev.c | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev

[dpdk-dev] [PATCH] i40e: fix the build error with gcc 4.4

2015-07-08 Thread Thomas Monjalon
> > Fix the build warning reported like: > >error: dereferencing pointer 'cmd' does break strict-aliasing rules > > > > Signed-off-by: Jingjing Wu > Acked-by: Wenzhuo Lu Fixes: a4def5edf0fc ("i40e: enable port mirroring") Applied, thanks

[dpdk-dev] [PATCH] i40e: fix the build error with gcc 4.4

2015-07-08 Thread Lu, Wenzhuo
Hi, > -Original Message- > From: Wu, Jingjing > Sent: Wednesday, July 8, 2015 2:37 PM > To: dev at dpdk.org > Cc: Wu, Jingjing; Lu, Wenzhuo > Subject: [PATCH] i40e: fix the build error with gcc 4.4 > > Fix the build warning reported like: >error: dereferencing pointer 'cmd' does break