2018-06-14 06:16:52

by Omer Efrat

[permalink] [raw]
Subject: Re: [2/3] wireless-drivers: use BIT_ULL for NL80211_STA_INFO_* attribute types

Kalle Valo <[email protected]> wrote:

> Omer Efrat <[email protected]> wrote:
>
>> Since 'filled' member in station_info changed to u64, BIT_ULL macro
>> should be used with NL80211_STA_INFO_* attribute types instead of BIT.
>>=20
>> The BIT macro uses unsigned long type which some architectures handle as=
32bit
>> and this results in compilation warnings such as:
>>=20
>> net/mac80211/sta_info.c:2223:2: warning: left shift count >=3D width of =
type
>> sinfo->filled |=3D BIT(NL80211_STA_INFO_TID_STATS);
>> ^
>>=20
>> Signed-off-by: Omer Efrat <[email protected]>
>
> Can I take this patch 2 or is it going via some other tree?

Yes.


--
https://patchwork.kernel.org/patch/10449829/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatc=
hes