]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
staging, rtl8192e, LLVMLinux: Change extern inline to static inline
authorBehan Webster <behanw@converseincode.com>
Wed, 29 Oct 2014 22:42:20 +0000 (15:42 -0700)
committerJiri Slaby <jslaby@suse.cz>
Tue, 26 May 2015 14:27:00 +0000 (16:27 +0200)
commit0c26d88da9ef571abb0166b30f1b31ad0d171730
tree13f75470d18c705de464b5b06b68438573d84e3d
parent50defa03f66e012438528be00a1ccca23c4c007e
staging, rtl8192e, LLVMLinux: Change extern inline to static inline

commit 6d91857d4826b382b3fd4fad95f52713be646f96 upstream.

With compilers which follow the C99 standard (like modern versions of gcc and
clang), "extern inline" does the opposite thing from older versions of gcc
(emits code for an externally linkable version of the inline function).

"static inline" does the intended behavior in all cases instead.

Signed-off-by: Behan Webster <behanw@converseincode.com>
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/staging/rtl8192e/rtllib.h
drivers/staging/rtl8192e/rtllib_softmac.c