On Mon, 14 Oct 2024 17:30:59 +0530 vanshika.shu...@nxp.com wrote: > iff --git a/drivers/bus/fslmc/fslmc_vfio.h b/drivers/bus/fslmc/fslmc_vfio.h > index 1695b6c078..408b35680d 100644 > --- a/drivers/bus/fslmc/fslmc_vfio.h > +++ b/drivers/bus/fslmc/fslmc_vfio.h > @@ -11,6 +11,10 @@ > #include <rte_compat.h> > #include <rte_vfio.h> > > +#ifndef __hot > +#define __hot __attribute__((hot)) > +#endif > +
DPDK already has __rte_hot (in rte_common.h) use that instead to fix. Warning in drivers/bus/fslmc/fslmc_vfio.h: Using compiler attribute directly