[PATCH v3] ath10k: set MAC timestamp in management Rx frame

Valo, Kalle kvalo at qca.qualcomm.com
Fri Feb 26 02:00:35 PST 2016


Peter Oh <poh at codeaurora.org> writes:

>> I see new warnings:
>>
>> drivers/net/wireless/ath/ath10k/wmi.c:2199:16: warning: restricted __le32
>> degrades to integer
>> drivers/net/wireless/ath/ath10k/wmi.c:2201:41: warning: restricted __le32
>> degrades to integer
>> drivers/net/wireless/ath/ath10k/wmi.c:2201:41: warning: cast to restricted
>> __le32
>> drivers/net/wireless/ath/ath10k/wmi.c:2201:41: warning: restricted __le32
>> degrades to integer
>>
> Do I have a way to run this check before submitting a patch such as
> checkpatch.pl?

I use this script to run checks on ath10k before I apply a patch to
pending branch:

https://github.com/qca/qca-swiss-army-knife/blob/master/tools/scripts/ath10k/ath10k-check

You need to install sparse separately, better to take the latest version
from git:

https://sparse.wiki.kernel.org/index.php/Main_Page

-- 
Kalle Valo


More information about the ath10k mailing list