linux/drivers/net/wireless
Omer Efrat 22d0d2fafc wireless-drivers: use BIT_ULL for NL80211_STA_INFO_ attribute types
The BIT macro uses unsigned long which some architectures handle as 32 bit
and therefore might cause macro's shift to overflow when used on a value
equals or larger than 32 (NL80211_STA_INFO_RX_DURATION and afterwards).

Since 'filled' member in station_info changed to u64, BIT_ULL macro
should be used with all NL80211_STA_INFO_* attribute types instead of BIT
to prevent future possible bugs when one will use BIT macro for higher
attributes by mistake.

This commit cleans up all usages of BIT macro with the above field
in wireless-drivers by changing it to BIT_ULL instead. In addition, there are
some places which don't use BIT nor BIT_ULL macros so align those as well.

Signed-off-by: Omer Efrat <omer.efrat@tandemg.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-06-27 19:07:39 +03:00
..
admtek net/wireless: fix spaces and grammar copy/paste in vendor Kconfig help text 2018-03-13 18:52:25 +02:00
ath wireless-drivers: use BIT_ULL for NL80211_STA_INFO_ attribute types 2018-06-27 19:07:39 +03:00
atmel atmel: use memdup_user to simplify the code 2018-06-27 19:06:00 +03:00
broadcom wireless-drivers: use BIT_ULL for NL80211_STA_INFO_ attribute types 2018-06-27 19:07:39 +03:00
cisco treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
intel wireless-drivers: use BIT_ULL for NL80211_STA_INFO_ attribute types 2018-06-27 19:07:39 +03:00
intersil treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
marvell wireless-drivers: use BIT_ULL for NL80211_STA_INFO_ attribute types 2018-06-27 19:07:39 +03:00
mediatek mt76x2: fix mrr idx/count estimation in mt76x2_mac_fill_tx_status() 2018-06-27 19:05:15 +03:00
quantenna wireless-drivers: use BIT_ULL for NL80211_STA_INFO_ attribute types 2018-06-27 19:07:39 +03:00
ralink treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
realtek treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
rsi rsi: fix spelling mistake "Uknown" -> "Unknown" 2018-05-29 10:21:35 +03:00
st treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
ti wireless-drivers: use BIT_ULL for NL80211_STA_INFO_ attribute types 2018-06-27 19:07:39 +03:00
zydas treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
Kconfig
mac80211_hwsim.c mac80211_hwsim: fix module init error paths 2018-06-15 13:02:02 +02:00
mac80211_hwsim.h mac80211_hwsim: add permanent mac address option for new radios 2018-01-31 12:45:35 +01:00
Makefile
ray_cs.c proc: introduce proc_create_single{,_data} 2018-05-16 07:23:35 +02:00
ray_cs.h
rayctl.h
rndis_wlan.c wireless-drivers: use BIT_ULL for NL80211_STA_INFO_ attribute types 2018-06-27 19:07:39 +03:00
wl3501_cs.c
wl3501.h