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

Sven Eckelmann sven at narfation.org
Thu Feb 25 11:32:33 PST 2016


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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20160225/158ef66d/attachment.sig>


More information about the ath10k mailing list