linux/drivers/net/wireless/ath/ath6kl
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
..
bmi.c
bmi.h
cfg80211.c wireless-drivers: use BIT_ULL for NL80211_STA_INFO_ attribute types 2018-06-27 19:07:39 +03:00
cfg80211.h
common.h
core.c ath6kl: add ability to set debug uart baud rate 2016-04-26 14:57:44 +03:00
core.h ath6kl: fix ath6kl_data_tx()'s return type 2018-04-27 14:34:32 +03:00
debug.c ath6kl: fix spelling mistake: "chache" -> "cache" 2018-04-19 18:56:40 +03:00
debug.h ath6kl: add __printf verification to ath6kl_dbg 2017-04-13 15:43:39 +03:00
hif-ops.h
hif.c ath6kl: enable firmware crash dumps on the AR6004 2016-09-09 15:12:59 +03:00
hif.h
htc_mbox.c ath6kl: Don't print error message when recv is canceled 2015-12-08 16:50:21 +02:00
htc_pipe.c wireless-drivers-next patches for 4.13 2017-06-25 14:45:34 -04:00
htc-ops.h
htc.h
init.c ath6kl: add ability to set debug uart baud rate 2016-04-26 14:57:44 +03:00
Kconfig
main.c wireless-drivers: Dynamically allocate struct station_info 2018-05-12 11:51:14 +03:00
Makefile
recovery.c timer: Remove init_timer_deferrable() in favor of timer_setup() 2017-10-05 15:01:18 +02:00
sdio.c ath6kl: add support for Dell Wireless 1537 2018-06-13 14:42:54 +03:00
target.h
testmode.c netlink: pass extended ACK struct to parsing functions 2017-04-13 13:58:22 -04:00
testmode.h
trace.c
trace.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
txrx.c ath6kl: fix ath6kl_data_tx()'s return type 2018-04-27 14:34:32 +03:00
usb.c ath6kl: constify usb_device_id 2017-08-11 16:59:01 +03:00
wmi.c ath: Convert timers to use timer_setup() 2017-10-27 16:54:19 +03:00
wmi.h ath: Convert timers to use timer_setup() 2017-10-27 16:54:19 +03:00