android_kernel_samsung_msm8976/drivers/staging/rtl8187se
Arnd Bergmann 5a22665df4 staging: rtl8712, rtl8712: avoid lots of build warnings
commit 0c9f3a65c5eb7fe1fc611a22eb8a8b71ea865998 upstream.

The rtl8712 driver has an 'extern inline' function that contains an
'if', which causes lots of warnings with CONFIG_PROFILE_ALL_BRANCHES
overriding the definition of 'if':

drivers/staging/rtl8712/ieee80211.h:759:229: warning: '______f' is static but declared in inline function 'ieee80211_get_hdrlen' which is not static [enabled by default]

This changes the driver to use 'static inline' instead, which happens
to be the correct annotation anyway.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-06-05 23:19:53 -07:00
..
ieee80211 staging: rtl8712, rtl8712: avoid lots of build warnings 2015-06-05 23:19:53 -07:00
Kconfig
Makefile
TODO
r8180.h
r8180_93cx6.h
r8180_core.c staging: single_open() leaks 2013-05-05 00:15:43 -04:00
r8180_dm.c
r8180_dm.h
r8180_hw.h
r8180_rtl8225.h
r8180_rtl8225z2.c
r8180_wx.c
r8180_wx.h
r8185b_init.c