You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Probably would be good to double check that code instead of just dropping the error.
/usr/src/lx2160a_build/build/dpdk/lib/librte_eal/common/malloc_heap.c: In function ‘rte_eal_malloc_heap_init’:
/usr/src/lx2160a_build/build/dpdk/lib/librte_eal/common/malloc_heap.c:1268:31: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
1268 | struct malloc_heap *heap = &mcfg->malloc_heaps[i];
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/src/lx2160a_build/build/dpdk/lib/librte_eal/common/malloc_heap.c:1282:26: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
1282 | rte_rwlock_read_unlock(&mcfg->memory_hotplug_lock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/lx2160a_build/build/dpdk/lib/librte_eal/common/malloc_heap.c:1290:25: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
1290 | rte_rwlock_read_unlock(&mcfg->memory_hotplug_lock);
The text was updated successfully, but these errors were encountered:
Probably would be good to double check that code instead of just dropping the error.
The text was updated successfully, but these errors were encountered: