linux/drivers/staging/rtl8192e
Behan Webster 16fc54ee26 staging, rtl8192e, LLVMLinux: Make static local in inline function const
rtllib_association_req is a (large) inline function which defines 2 constant
static arrays which aren't labelled as const. As a result clang complains with:

non-constant static local variable in inline function may be different in
different files
[-Wstatic-local-in-inline]
  static u8       AironetIeOui[] = {0x00, 0x01, 0x66};
  ^
The solution is making them "static const".

However doing so requires dropping const when being used with struct
octet_string. However the value is used in a const fashion thereafter, so no
harm done.

Signed-off-by: Behan Webster <behanw@converseincode.com>
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-10-29 16:33:05 -07:00
..
rtl8192e staging: rtl8192e: delete successive assignments to the same location 2014-10-28 15:53:25 +08:00
dot11d.c staging: rtl8192e: fixed coding style issues 2014-08-30 13:54:03 -07:00
dot11d.h
Kconfig
license
Makefile
rtl819x_BA.h
rtl819x_BAProc.c Staging: rtl8192e: Change variable type from u16 to __le16 2014-10-29 16:05:16 -07:00
rtl819x_HT.h
rtl819x_HTProc.c staging: rtl8192e: Fix void function return statements style 2014-10-02 11:56:43 -07:00
rtl819x_Qos.h
rtl819x_TS.h
rtl819x_TSProc.c Staging: rtl8192e: Fix space before semicolon warning 2014-09-19 17:14:30 -07:00
rtllib_crypt_ccmp.c Staging: rtl8192e: Fix style warnings relating to printk(KERN_DEBUG 2014-09-19 17:11:06 -07:00
rtllib_crypt_tkip.c staging: rtl8192e: fixed coding style issues 2014-08-30 13:54:03 -07:00
rtllib_crypt_wep.c Staging: rtl8192e: Fix printk debug style warning 2014-09-19 17:14:30 -07:00
rtllib_crypt.c
rtllib_crypt.h
rtllib_debug.h
rtllib_endianfree.h
rtllib_module.c staging: rtl8192e: fixed coding style issues 2014-08-30 13:54:03 -07:00
rtllib_rx.c staging: rtl8192e: Remove unnecessary code 2014-10-27 10:33:06 +08:00
rtllib_softmac_wx.c Staging: rtl8192e: Remove unused variable 2014-09-28 23:39:27 -04:00
rtllib_softmac.c staging, rtl8192e, LLVMLinux: Make static local in inline function const 2014-10-29 16:33:05 -07:00
rtllib_tx.c staging: rtl8192e: Remove unneeded void return 2014-10-02 11:56:43 -07:00
rtllib_wx.c staging: rtl8192e: fixed coding style issues 2014-08-30 13:54:03 -07:00
rtllib.h staging, rtl8192e, LLVMLinux: Remove unused prototype 2014-10-29 16:33:05 -07:00
TODO