The struct rte_afu_device does not need to be packed, so remove the packed attribute from it.
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Rosen Xu <[email protected]> Acked-by: Stephen Hemminger <[email protected]> Acked-by: Morten Brørup <[email protected]> --- drivers/bus/ifpga/bus_ifpga_driver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/ifpga/bus_ifpga_driver.h b/drivers/bus/ifpga/bus_ifpga_driver.h index a42afc7d75..af151ffd4b 100644 --- a/drivers/bus/ifpga/bus_ifpga_driver.h +++ b/drivers/bus/ifpga/bus_ifpga_driver.h @@ -77,7 +77,7 @@ struct rte_afu_device { struct rte_intr_handle *intr_handle; /**< Interrupt handle */ struct rte_afu_driver *driver; /**< Associated driver */ char path[IFPGA_BUS_BITSTREAM_PATH_MAX_LEN]; -} __rte_packed; +}; /** * @internal -- 2.43.0

