aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8723bs
diff options
context:
space:
mode:
authorOmer Efrat <omer.efrat@tandemg.com>2018-06-17 13:06:25 +0300
committerJohannes Berg <johannes.berg@intel.com>2018-06-29 09:53:09 +0200
commita4217750586975dee7d6dd8829a1be24a7678b3d (patch)
tree3708ac9a536391930f4f27975bff60ccb8919444 /drivers/staging/rtl8723bs
parentcfg80211: use BIT_ULL for NL80211_STA_INFO_* attribute types (diff)
downloadlinux-dev-a4217750586975dee7d6dd8829a1be24a7678b3d.tar.xz
linux-dev-a4217750586975dee7d6dd8829a1be24a7678b3d.zip
mac80211: 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 mac80211 by changing it to BIT_ULL instead. Signed-off-by: Omer Efrat <omer.efrat@tandemg.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/staging/rtl8723bs')
0 files changed, 0 insertions, 0 deletions