On 4/15/2020 9:18 AM, Venkat Duvvuru wrote: > From: Michael Wildt <michael.wi...@broadcom.com> > > - Add TruFlow session and resource support functions > - Add Truflow session close API and related message support functions > for both session and hw resources > > Signed-off-by: Michael Wildt <michael.wi...@broadcom.com> > Reviewed-by: Randy Schacher <stuart.schac...@broadcom.com> > Reviewed-by: Ajit Kumar Khaparde <ajit.khapa...@broadcom.com>
<...> > +static inline uint32_t SWAP_WORDS32(uint32_t val32) > +{ > + return (((val32 & 0x0000ffff) << 16) | > + ((val32 & 0xffff0000) >> 16)); > +} > + 'SWAP_WORDS32()' is not used in this patch and causing a build warning [1], can you please add this function on the patch it is used? [1] .../drivers/net/bnxt/tf_core/tf_core.c:17:24: error: unused function 'SWAP_WORDS32' [-Werror,-Wunused-function] static inline uint32_t SWAP_WORDS32(uint32_t val32) ^