[PATCH v5 2/7] ath10k: implement chanctx API

Michal Kazior michal.kazior at tieto.com
Tue Mar 31 03:37:15 PDT 2015


On 30 March 2015 at 18:21, Kalle Valo <kvalo at qca.qualcomm.com> wrote:
> Michal Kazior <michal.kazior at tieto.com> writes:
>
>> The chanctx API will allow ath10k to support
>> multi-channel operation.
>>
>> Signed-off-by: Michal Kazior <michal.kazior at tieto.com>
>
> kbuild reports:
>
> sparse warnings: (new ones prefixed by >>)
>
>>> drivers/net/wireless/ath/ath10k/mac.h:72:57: sparse: incorrect type in initializer (different address spaces)
>    drivers/net/wireless/ath/ath10k/mac.h:72:57:    expected struct ieee80211_chanctx_conf *conf
>    drivers/net/wireless/ath/ath10k/mac.h:72:57:    got struct ieee80211_chanctx_conf [noderef] <asn:4>*chanctx_conf
>>> drivers/net/wireless/ath/ath10k/mac.h:72:57: sparse: incorrect type in initializer (different address spaces)
[...]

Thanks for catching this! I've sent a v6.

Btw. I'm puzzled why my sparse isn't helpful like this. Ideas?


Michał



More information about the ath10k mailing list