Peter Oh <poh@xxxxxxxxxxxxxx> 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-- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html