From: Rahul Lakkireddy <rahul.lakkireddy@xxxxxxxxxxx> Date: Thu, 21 Nov 2019 20:50:48 +0530 > @@ -1345,6 +1355,25 @@ static inline int cxgb4_validate_skb(struct sk_buff *skb, > return 0; > } > > +static inline void *write_eo_udp_wr(struct sk_buff *skb, > + struct fw_eth_tx_eo_wr *wr, u32 hdr_len) > +{ Do not use inline in foo.c files, let the compiler decide. I know this source file is already a rotting mess of inline function directives, but let's not add more.