net/ice/base: fix alignment
As title says, fix an alignment issue.
Fixes: 51d04e4933
("net/ice/base: add flexible pipeline module")
Cc: stable@dpdk.org
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
This commit is contained in:
parent
fadf46b1ee
commit
8dad92662b
@ -131,8 +131,9 @@ static struct ice_buf_table *ice_find_buf_table(struct ice_seg *ice_seg)
|
||||
{
|
||||
struct ice_nvm_table *nvms;
|
||||
|
||||
nvms = (struct ice_nvm_table *)(ice_seg->device_table +
|
||||
LE32_TO_CPU(ice_seg->device_table_count));
|
||||
nvms = (struct ice_nvm_table *)
|
||||
(ice_seg->device_table +
|
||||
LE32_TO_CPU(ice_seg->device_table_count));
|
||||
|
||||
return (_FORCE_ struct ice_buf_table *)
|
||||
(nvms->vers + LE32_TO_CPU(nvms->table_count));
|
||||
|
Loading…
Reference in New Issue
Block a user