Re: [PATCH 06/16] wcn36xx: Fetch private sta data from sta entry instead of from vif

From: Kalle Valo
Date: Wed Mar 30 2016 - 01:18:58 EST


Bjorn Andersson <bjorn.andersson@xxxxxxxxxx> writes:

>> All error/warnings (new ones prefixed by >>):
>>
>> drivers/net/wireless/ath/wcn36xx/main.c: In function 'wcn36xx_set_key':
>> >> drivers/net/wireless/ath/wcn36xx/main.c:389:9: error: implicit declaration of function 'wcn36xx_sta_to_priv' [-Werror=implicit-function-declaration]
>> struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(sta);
>> ^
>> >> drivers/net/wireless/ath/wcn36xx/main.c:389:33: warning: initialization makes pointer from integer without a cast
>> struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(sta);
>> ^
>> cc1: some warnings being treated as errors
>
> This should have been reordered with patch 7, that introduces this
> helper function. Do you want me to resend, or can you apply the patches
> out of order?

It's better that you resend the whole patchset as v2.

--
Kalle Valo