From: Arjun Vynipadath <ar...@chelsio.com> Date: Tue, 29 Jan 2019 15:18:50 +0530
> diff --git a/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c > b/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c > index 2fab87e..a8f78ea 100644 > --- a/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c > +++ b/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c > @@ -236,6 +236,74 @@ void t4vf_os_portmod_changed(struct adapter *adapter, > int pidx) > "inserted\n", dev->name, pi->mod_type); > } > > +static inline int cxgb4vf_set_addr_hash(struct port_info *pi) ... > +static inline int cxgb4vf_change_mac(struct port_info *pi, unsigned int viid, > + int *tcam_idx, const u8 *addr, > + bool persistent) Please do not use the inline keyword in foo.c files. Thank you.