diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-06-05 22:48:15 +0200 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2015-05-26 16:27:01 +0200 |
commit | 410dfdf95dcc0c6e2c8e955662db7c6beeb5bc06 (patch) | |
tree | 8883459428ad1f20eb2b32f1e3f5418ff4ecd2e6 /drivers/fmc | |
parent | 0c26d88da9ef571abb0166b30f1b31ad0d171730 (diff) | |
download | lwn-410dfdf95dcc0c6e2c8e955662db7c6beeb5bc06.tar.gz lwn-410dfdf95dcc0c6e2c8e955662db7c6beeb5bc06.zip |
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: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'drivers/fmc')
0 files changed, 0 insertions, 0 deletions