Thank you!

On 02/25/2016 11:32 AM, Sven Eckelmann wrote:
On Thursday 25 February 2016 10:53:23 Peter Oh wrote:
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?
Looks like sparse with -D__CHECK_ENDIAN__ [1]

You may also try smatch [2]

Kind regards,
        Sven

[1] https://www.kernel.org/doc/Documentation/sparse.txt
[2] http://smatch.sourceforge.net/

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to