> +static inline unsigned int stmmac_rx_offset(struct stmmac_priv *priv) > +{ > + if (stmmac_xdp_is_enabled(priv)) > + return XDP_PACKET_HEADROOM; > + > + return 0; > +} Please drop the inline keyword. You don't need it in a .c file, it is better to let the compiler to decide. Andrew --- pw-bot: cr