[PATCH] staging: r8723au: Fix build warnings

Joe Perches joe at perches.com
Wed Apr 9 16:15:45 UTC 2014


On Wed, 2014-04-09 at 10:05 -0500, Larry Finger wrote:
> The kbuild test robot reports the following:
[]
> diff --git a/drivers/staging/rtl8723au/include/rtw_mlme.h b/drivers/staging/rtl8723au/include/rtw_mlme.h
[]
> -void rtw_set_roaming(struct rtw_adapter *adapter, u8 to_roaming);
> -u8 rtw_to_roaming(struct rtw_adapter *adapter);
> +inline void rtw_set_roaming(struct rtw_adapter *adapter, u8 to_roaming);
> +inline u8 rtw_to_roaming(struct rtw_adapter *adapter);

I think this doesn't make sense.

Either the inline should be removed from
the .c file or the function should be moved
into the .h file and made static inline.




More information about the devel mailing list