From: Roopa Prabhu <ro...@cumulusnetworks.com> Date: Sat, 24 Jun 2017 12:19:44 -0700
> @@ -3690,11 +3690,64 @@ void t4_ulprx_read_la(struct adapter *adap, u32 > *la_buf) > FW_PORT_CAP_SPEED_40G | FW_PORT_CAP_SPEED_100G | \ > FW_PORT_CAP_ANEG) > > +/* Translate Firmware Port Capabilities Pause specification to Common Code */ > +static inline unsigned int fwcap_to_cc_pause(unsigned int fw_pause) > +{ Do not use "inline" in foo.c files, always let the compiler decide. Same goes for patch #3.