[v2,10/14] eal: remove packed attribute from mcfg structure
Checks
Commit Message
There is no reason to pack the memconfig structure, and doing so
gives out warnings in some static analyzers. Fix it by removing
the packed attributed.
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
---
lib/librte_eal/common/eal_memcfg.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -66,7 +66,7 @@ struct rte_mem_config {
/* keeps the more restricted dma mask */
uint8_t dma_maskbits;
-} __attribute__((packed));
+};
static inline void
rte_eal_mcfg_wait_complete(struct rte_mem_config *mcfg)