[dpdk-dev] [PATCH] i40e: fix of compile errors

2014-12-18 Thread Thomas Monjalon
> Compile warning which is treated as error occurs on Oracle Linux > (kernel 2.6.39, gcc 4.4.7) as below. Aliasing > 'struct i40e_aqc_debug_reg_read_write' should be avoided. Use the > elements inside that structure directly can fix the issue. > > lib/librte_pmd_i40e/i40e_ethdev.c: In function

[dpdk-dev] [PATCH] i40e: fix of compile errors

2014-12-17 Thread Helin Zhang
Compile warning which is treated as error occurs on Oracle Linux (kernel 2.6.39, gcc 4.4.7) as below. Aliasing 'struct i40e_aqc_debug_reg_read_write' should be avoided. Use the elements inside that structure directly can fix the issue. lib/librte_pmd_i40e/i40e_ethdev.c: In function